From f23509ce646be839a78513fac0f25865c097be20 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Wed, 21 Jul 1993 23:05:12 +0000 Subject: [PATCH] Don't call FIND-CLASS with constant name during initialization, since the compiler will transform to a load-time fixup that won't have run yet in cold load. Instead, refer to a constant layout. --- code/class.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/class.lisp b/code/class.lisp index c8ef579df..d6ea72345 100644 --- a/code/class.lisp +++ b/code/class.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/class.lisp,v 1.28 1993/07/20 15:35:16 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/class.lisp,v 1.29 1993/07/21 23:05:12 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -723,7 +723,7 @@ (cold-load-init (setq built-in-class-codes (let ((res (make-array 256 :initial-element - (class-layout (find-class 'random-class))))) + '#.(class-layout (find-class 'random-class))))) (dolist (x built-in-classes res) (destructuring-bind (name &key codes &allow-other-keys) x -- GitLab