X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fmacros.lisp;h=a86bbc97984a806aa8510c065a440e56bd288826;hb=df679ed627975948b1cee190f4d79c397588c43e;hp=f6e4fb0b5f511f48ad4ad191da2b348e4a83ba0a;hpb=b4ccc20df7644d7d3b601a22059d796e8f23c9af;p=sbcl.git diff --git a/src/compiler/macros.lisp b/src/compiler/macros.lisp index f6e4fb0..a86bbc9 100644 --- a/src/compiler/macros.lisp +++ b/src/compiler/macros.lisp @@ -133,7 +133,7 @@ (deftype attributes () 'fixnum) -(eval-when (:compile-toplevel :load-toplevel :execute) +(eval-when (#-sb-xc :compile-toplevel :load-toplevel :execute) ;;; Given a list of attribute names and an alist that translates them ;;; to masks, return the OR of the masks. @@ -263,7 +263,7 @@ ;;;; to parse the IR1 representation of a function call using a ;;;; standard function lambda-list. -(eval-when (:compile-toplevel :load-toplevel :execute) +(eval-when (#-sb-xc :compile-toplevel :load-toplevel :execute) ;;; Given a DEFTRANSFORM-style lambda-list, generate code that parses ;;; the arguments of a combination with respect to that lambda-list. @@ -689,7 +689,7 @@ ,@body)) (defmacro with-component-last-block ((component block) &body body) - (let ((old-last-block (gensym "OLD-LAST-BLOCK"))) + (with-unique-names (old-last-block) (once-only ((component component) (block block)) `(let ((,old-last-block (component-last-block ,component))) @@ -707,7 +707,7 @@ ;;; experimentation, not for ordinary use, so it should probably ;;; become conditional on SB-SHOW. -(eval-when (:compile-toplevel :load-toplevel :execute) +(eval-when (#-sb-xc :compile-toplevel :load-toplevel :execute) (defstruct (event-info (:copier nil)) ;; The name of this event.