X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-error.lisp;h=845c64708ec95da0698cd0d8beddf279bd5fd5da;hb=03770e700a55a111d9d350b4c2a6fae98662e1ed;hp=9bb1506d45e6b0a562c5a9737f981aa0d5b37a82;hpb=dcc18b4ddb40e9c63229d9bc37e0132f0123e817;p=sbcl.git diff --git a/src/code/target-error.lisp b/src/code/target-error.lisp index 9bb1506..845c647 100644 --- a/src/code/target-error.lisp +++ b/src/code/target-error.lisp @@ -56,7 +56,6 @@ restarts associated with CONDITION (or with no condition) will be returned." (setq other (append (cdr alist) other)))) (collect ((res)) (let ((stack *restart-test-stack*)) - (declare (optimize sb!c::stack-allocate-dynamic-extent)) (dolist (restart-cluster *restart-clusters*) (dolist (restart restart-cluster) (when (and (or (not condition) @@ -69,7 +68,7 @@ restarts associated with CONDITION (or with no condition) will be returned." ;; duraction of the test call. (not (memq restart stack)) (let ((*restart-test-stack* (cons restart stack))) - (declare (dynamic-extent *restart-test-stack*)) + (declare (truly-dynamic-extent *restart-test-stack*)) (funcall (restart-test-function restart) condition))) (res restart))))) (res))))