From d503fa1460df7ff0217da35ce066122efb8af715 Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Tue, 14 Sep 1993 00:09:27 +0000
Subject: [PATCH] Fixed make-core-byte-component to actually store the value
 cell in the constants pool for dylan vars, instead of just computing it and
 dropping it on the floor.

---
 compiler/generic/core.lisp | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/compiler/generic/core.lisp b/compiler/generic/core.lisp
index 4104694c9..23ffa0a7a 100644
--- a/compiler/generic/core.lisp
+++ b/compiler/generic/core.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/generic/core.lisp,v 1.28 1993/09/01 03:18:32 wlott Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/core.lisp,v 1.29 1993/09/14 00:09:27 wlott Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -247,12 +247,13 @@
 		(setf (code-header-ref code-obj code-obj-index)
 		      (lisp::fdefinition-object (cdr const) t)))
 	       (:dylan-varinfo-value
-		(locally
-		  (declare (optimize (inhibit-warnings 3)))
-		  (dylan::lookup-varinfo-value
-		   (cadr const)
-		   (dylan::find-module (cddr const))
-		   t)))
+		(setf (code-header-ref code-obj code-obj-index)
+		      (locally
+		       (declare (optimize (inhibit-warnings 3)))
+		       (dylan::lookup-varinfo-value
+			(cadr const)
+			(dylan::find-module (cddr const))
+			t))))
 	       (:type-predicate
 		(let ((*unparse-function-type-simplify* t))
 		  (setf (code-header-ref code-obj code-obj-index)
-- 
GitLab