0.7.9.58:
[sbcl.git] / src / compiler / lexenv.lisp
index 5a94a63..34f37ba 100644 (file)
 #!-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
+                          (funs vars blocks tags
+                                 type-restrictions
+                                 weakend-type-restrictions
                                 lambda cleanup policy)))
   ;; an alist of (NAME . WHAT), where WHAT is either a FUNCTIONAL (a
   ;; local function), a DEFINED-FUN, representing an
@@ -49,6 +58,7 @@
   ;; THING is a continuation, this is used to track the innermost THE
   ;; type declaration.
   (type-restrictions nil :type list)
+  (weakend-type-restrictions nil :type list)
   ;; the lexically enclosing lambda, if any
   ;;
   ;; FIXME: This should be :TYPE (OR CLAMBDA NULL), but it was too hard