X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Flexenv.lisp;h=033a4fae55a6c4b16e63ca44a210d7c3779bb9df;hb=3eb39e017e52b5d704e7d33405c873af52a533fd;hp=da6c4fc398bcef07ddfb215abca690cd8baac35f;hpb=c831b2828176641e93a45d3fd643e9f58cd44a3f;p=sbcl.git diff --git a/src/compiler/lexenv.lisp b/src/compiler/lexenv.lisp index da6c4fc..033a4fa 100644 --- a/src/compiler/lexenv.lisp +++ b/src/compiler/lexenv.lisp @@ -18,9 +18,16 @@ #!-sb-fluid (declaim (inline internal-make-lexenv)) ; only called in one place (def!struct (lexenv (:constructor make-null-lexenv ()) + (:constructor make-null-interactive-lexenv + (&aux (policy (list '(safety . 3) + '(compilation-speed . 2) + '(speed . 1) + '(space . 1) + '(debug . 1) + '(inhibit-warnings . 1))))) (:constructor internal-make-lexenv (funs vars blocks tags type-restrictions - lambda cleanup policy options))) + lambda cleanup policy))) ;; an alist of (NAME . WHAT), where WHAT is either a FUNCTIONAL (a ;; local function), a DEFINED-FUN, representing an ;; INLINE/NOTINLINE declaration, or a list (MACRO . ) (a @@ -57,10 +64,7 @@ ;; the lexically enclosing cleanup, or NIL if none enclosing within Lambda (cleanup nil) ;; the current OPTIMIZE policy - (policy *policy* :type policy) - ;; an alist of miscellaneous options that are associated with the - ;; lexical environment - (options nil :type list)) + (policy *policy* :type policy)) ;;; support for the idiom (in MACROEXPAND and elsewhere) that NIL is ;;; to be taken as a null lexical environment