diff --git a/compiler/ir1opt.lisp b/compiler/ir1opt.lisp index c6da4f9851878c77706819618e8e189220233a1e..73ce82d7a1ae09d6a3ee83a5f53e72ce440cde3f 100644 --- a/compiler/ir1opt.lisp +++ b/compiler/ir1opt.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1opt.lisp,v 1.32 1991/11/16 13:16:37 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1opt.lisp,v 1.33 1991/11/16 15:41:39 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1531,11 +1531,13 @@ (when (typep (continuation-dest (node-cont node)) '(or creturn exit mv-combination)) (give-up)) - (let ((dummies (loop repeat (1- (length vals)) + (if vals + (let ((dummies (loop repeat (1- (length vals)) collect (gensym)))) - `(lambda (val ,@dummies) - (declare (ignore ,@dummies)) - val))) + `(lambda (val ,@dummies) + (declare (ignore ,@dummies)) + val)) + 'nil)) ;;; Flush-Dead-Code -- Internal