0.pre7.86.flaky7.3:
[sbcl.git] / src / compiler / pack.lisp
index 854b974..b0a9467 100644 (file)
        
 ;;; Like EMIT-SAVES, only different. We avoid redundant saving within
 ;;; the block, and don't restore values that aren't used before the
-;;; next call. This function is just the top-level loop over the
+;;; next call. This function is just the top level loop over the
 ;;; blocks in the component, which locates blocks that need saving
 ;;; done.
 (defun optimized-emit-saves (component)
 (defun pack (component)
   (aver (not *in-pack*))
   (let ((*in-pack* t)
-       (optimize (policy nil (or (>= speed compilation-speed)
-                                 (>= space compilation-speed))))
+       (optimize (policy *lexenv*
+                         (or (>= speed compilation-speed)
+                             (>= space compilation-speed))))
        (2comp (component-info component)))
     (init-sb-vectors component)