X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fpolicy.lisp;h=9ec12e3a9c4200c34e1aa32ac870819133c84dce;hb=77c80b85dc9ae9bde0692d4193187bfca507b936;hp=3402be1b8b752f90e6cae00074ebcfbeb70b9458;hpb=2c02791374610c991b56439b7c277b770b5311a3;p=sbcl.git diff --git a/src/compiler/policy.lisp b/src/compiler/policy.lisp index 3402be1..9ec12e3 100644 --- a/src/compiler/policy.lisp +++ b/src/compiler/policy.lisp @@ -22,12 +22,18 @@ ;;; alists instead. (def!type policy () 'list) -(eval-when (#-sb-xc-host :compile-toplevel :load-toplevel :execute) - (defstruct policy-dependent-quality - name - expression - getter - values-documentation)) +;;; FIXME: the original implementation of this was protected by +;;; +;;; (eval-when (#-sb-xc-host :compile-toplevel :load-toplevel :execute) +;;; +;;; but I don't know why. This seems to work, but I don't understand +;;; why the original wasn't this in the first place. -- CSR, +;;; 2003-05-04 +(defstruct policy-dependent-quality + name + expression + getter + values-documentation) ;;; names of recognized optimization policy qualities (defvar *policy-qualities*) ; (initialized at cold init) @@ -123,4 +129,3 @@ (setf (cdr acons) item) (push `(,',name . ,item) *policy-dependent-qualities*))) ',name)) -