diff --git a/compiler/byte-comp.lisp b/compiler/byte-comp.lisp index 22d919c5f26ea9312140387d7f2d393db4aeab00..68eaa5d9ea3bd4448fc1178ec520a6442831f252 100644 --- a/compiler/byte-comp.lisp +++ b/compiler/byte-comp.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/byte-comp.lisp,v 1.27 1999/02/25 13:03:00 pw Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/byte-comp.lisp,v 1.28 2000/06/14 06:23:35 dtc Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1310,7 +1310,11 @@ (t (etypecase leaf (constant - (output-push-constant-leaf segment leaf)) + (cond ((legal-immediate-constant-p leaf) + (output-push-constant-leaf segment leaf)) + (t + (output-push-constant segment (leaf-name leaf)) + (output-do-inline-function segment 'symbol-value)))) (clambda (let* ((refered-env (lambda-environment leaf)) (closure (environment-closure refered-env)))