X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fpolicy.lisp;h=9ec12e3a9c4200c34e1aa32ac870819133c84dce;hb=8f4ef01b8c9930d7dd0a56a96845a6d84ca5774d;hp=c51bf365d5a3ece137fe651c52f5bfe4c687b9c2;hpb=2bdf5a3484eda55b0d4b9313aa6b3505b6d7cbd8;p=sbcl.git diff --git a/src/compiler/policy.lisp b/src/compiler/policy.lisp index c51bf36..9ec12e3 100644 --- a/src/compiler/policy.lisp +++ b/src/compiler/policy.lisp @@ -22,13 +22,18 @@ ;;; alists instead. (def!type policy () 'list) -(eval-when (#-sb-xc-host :compile-toplevel :load-toplevel :execute) - (defstruct policy-dependent-quality - dummy - 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) @@ -124,4 +129,3 @@ (setf (cdr acons) item) (push `(,',name . ,item) *policy-dependent-qualities*))) ',name)) -