X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fboot.lisp;h=1e1518a6d800856fb953a62e9d9fd9631849e300;hb=f7faed97898dd0e94a18b0d1fca03aaa0fe24ab0;hp=c794df48628b4866db678554acf32cc0501d4deb;hpb=e768e8944cce654692468dae63f819ea1aa520a5;p=sbcl.git diff --git a/src/pcl/boot.lisp b/src/pcl/boot.lisp index c794df4..1e1518a 100644 --- a/src/pcl/boot.lisp +++ b/src/pcl/boot.lisp @@ -1312,9 +1312,8 @@ bootstrapping. applyp)) &body body &environment env) - (let* ((all-params (append args (when rest-arg (list rest-arg)))) - (rebindings (when (or setq-p call-next-method-p) - (mapcar (lambda (x) (list x x)) all-params)))) + (let* ((rebindings (when (or setq-p call-next-method-p) + (mapcar (lambda (x) (list x x)) parameters-setqd)))) (if (not (or call-next-method-p setq-p closurep next-method-p-p applyp)) `(locally ,@body) @@ -1337,7 +1336,6 @@ bootstrapping. (declare (optimize (sb-c:insert-step-conditions 0))) (not (null ,next-method-call)))))) (let ,rebindings - ,@(when rebindings `((declare (ignorable ,@all-params)))) ,@body))))) ;;; CMUCL comment (Gerd Moellmann):