Skip to content
Snippets Groups Projects
Commit d7558fc1 authored by wlott's avatar wlott
Browse files

Put the eval-when back around the (declaim (optimize (safety 1))) so that

we can cold load defstruct.  And put in a comment as to why it is there.
parent 743b3850
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.36 1992/12/15 16:08:46 wlott Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.37 1992/12/15 19:45:07 wlott Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -22,8 +22,10 @@ ...@@ -22,8 +22,10 @@
(in-package :c) (in-package :c)
;;; Always compile safe. This code isn't very careful about protecting itself. ;;; Always compile safe. This code isn't very careful about protecting itself.
;;; ;;; Note: we only do this at compile time because defstruct gets cold-loaded
(declaim (optimize (safety 1))) ;;; before enough stuff to handle the declaim has been set up.
(eval-when (compile)
(declaim (optimize (safety 1))))
;;;; Structure frobbing primitives. ;;;; Structure frobbing primitives.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment