X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fpack.lisp;h=b0a94674d3cf39a556dac91d16cb0fa47d1e4d59;hb=e2b33e0d99f0f93263defcd2e0dffe20c4e388f3;hp=854b9747b09b0c6efea96eacca9999440a138e6f;hpb=d147d512602d761a2dcdfded506dd1a8f9a140dc;p=sbcl.git diff --git a/src/compiler/pack.lisp b/src/compiler/pack.lisp index 854b974..b0a9467 100644 --- a/src/compiler/pack.lisp +++ b/src/compiler/pack.lisp @@ -742,7 +742,7 @@ ;;; 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) @@ -1434,8 +1434,9 @@ (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)