X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fvop.lisp;h=99d71111178ea4a934f9c6b6d110a9fa609c187f;hb=95591ed483dbb8c0846c129953acac1554f28809;hp=9f7ace36579da8936a34ecc1df2f74779dd3b3fa;hpb=6c7a026d79b5f971ac129846efe2d394239a0fee;p=sbcl.git diff --git a/src/compiler/vop.lisp b/src/compiler/vop.lisp index 9f7ace3..99d7111 100644 --- a/src/compiler/vop.lisp +++ b/src/compiler/vop.lisp @@ -324,8 +324,8 @@ ;; a function type specifier representing the arguments and results ;; of this function (type 'function :type (or list (member function))) - ;; xref information for the XEP - (xref nil :type (or null simple-vector))) + ;; docstring and/or xref information for the XEP + (info nil :type (or null simple-vector string (cons string simple-vector)))) ;;; An IR2-PHYSENV is used to annotate non-LET LAMBDAs with their ;;; passing locations. It is stored in the PHYSENV-INFO. @@ -559,8 +559,12 @@ ;; conditional that yields its result as a control transfer. The ;; emit function takes two info arguments: the target label and a ;; boolean flag indicating whether to negate the sense of the test. + ;; + ;; If RESULT-TYPES is a cons whose car is :CONDITIONAL, then this is + ;; a flag-setting VOP. The rest is a list of condition descriptors to + ;; be interpreted by the BRANCH-IF VOP (see $ARCH/pred.lisp). (arg-types nil :type list) - (result-types nil :type (or list (member :conditional))) + (result-types nil :type (or list (member :conditional) (cons (eql :conditional)))) ;; the primitive type restriction applied to each extra argument or ;; result following the fixed operands. If NIL, no extra ;; args/results are allowed. Otherwise, either * or a (:OR ...) list