diff --git a/compiler/ir1opt.lisp b/compiler/ir1opt.lisp index b6cd38379a759d5de62650065621035916ae5b91..915ea05cdabc12f4da5cfc1b5cc9ca9e219b9721 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.36 1991/12/15 14:59:09 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1opt.lisp,v 1.37 1991/12/16 10:09:10 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1009,7 +1009,8 @@ (setf (combination-kind call) :full)) ((= (length values) 1) (with-ir1-environment call - (maybe-emit-make-load-forms (first values)) + (when (producing-fasl-file) + (maybe-emit-make-load-forms (first values))) (let* ((leaf (find-constant (first values))) (node (make-ref (leaf-type leaf) leaf