From 06ccd0a566f8569c9b47b6824a32c6d57760e7f3 Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Sun, 15 Dec 1991 08:09:06 +0000
Subject: [PATCH] Make constant-fold-call call maybe-emit-make-load-forms on
 the resultant constant so that it gets dumped correctly.

---
 compiler/ir1opt.lisp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compiler/ir1opt.lisp b/compiler/ir1opt.lisp
index d3a9d91c1..a69b756b0 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.34 1991/12/11 16:55:09 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1opt.lisp,v 1.35 1991/12/15 08:09:06 wlott Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -1009,6 +1009,7 @@
 	(setf (combination-kind call) :full))
        ((= (length values) 1)
 	(with-ir1-environment call
+	  (make-emit-make-load-forms (first values))
 	  (let* ((leaf (find-constant (first values)))
 		 (node (make-ref (leaf-type leaf)
 				 leaf
-- 
GitLab