X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcold-init.lisp;h=b6dd3240731b831677e04458e8e0435ea3525891;hb=fa8962d732057015fbb9a2f8a08ea8d5299b50dd;hp=ede85fd3af5690f66073d13a90d4198ce8610ea5;hpb=64bf93a97814ea1caf62bbdcc7ef43e2fbfc8f73;p=sbcl.git diff --git a/src/code/cold-init.lisp b/src/code/cold-init.lisp index ede85fd..b6dd324 100644 --- a/src/code/cold-init.lisp +++ b/src/code/cold-init.lisp @@ -135,9 +135,8 @@ ;; forms of the corresponding source files. (show-and-call !package-cold-init) - - ;; Set sane values for our toplevel forms. - (show-and-call !set-sane-policy-defaults) + (show-and-call !policy-cold-init-or-resanify) + (/show0 "back from !POLICY-COLD-INIT-OR-RESANIFY") ;; KLUDGE: Why are fixups mixed up with toplevel forms? Couldn't ;; fixups be done separately? Wouldn't that be clearer and better? @@ -190,11 +189,11 @@ (t (!cold-lose "bogus function in *!REVERSED-COLD-TOPLEVELS*"))))) (/show0 "done with loop over cold toplevel forms and fixups") - ;; Set sane values again, so that the user sees sane values instead of - ;; whatever is left over from the last DECLAIM. - (show-and-call !set-sane-policy-defaults) + ;; Set sane values again, so that the user sees sane values instead + ;; of whatever is left over from the last DECLAIM/PROCLAIM. + (show-and-call !policy-cold-init-or-resanify) - ;; Only do this after top level forms have run, 'cause that's where + ;; Only do this after toplevel forms have run, 'cause that's where ;; DEFTYPEs are. (setf *type-system-initialized* t) @@ -215,8 +214,8 @@ (show-and-call !class-finalize) ;; The reader and printer are initialized very late, so that they - ;; can even do hairy things like invoking the compiler as part of - ;; their initialization. + ;; can do hairy things like invoking the compiler as part of their + ;; initialization. (show-and-call !reader-cold-init) (let ((*readtable* *standard-readtable*)) (show-and-call !sharpm-cold-init) @@ -238,10 +237,6 @@ (/show0 "done initializing") (setf *cold-init-complete-p* t) - ;; Unintern no-longer-needed stuff before we GC. - #!-sb-fluid - (!unintern-init-only-stuff) - ;; The system is finally ready for GC. #!-gengc (setf *already-maybe-gcing* nil) (/show0 "enabling GC")