Commit c400b7cf authored by ram's avatar ram
Browse files

Moved compilation of top-level forms in compile-top-level inside binding of

*byte-compile* so that this compilation is affected.
parent ea3c0f45
...@@ -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/compiler/main.lisp,v 1.86 1993/05/13 11:37:13 ram Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/main.lisp,v 1.87 1993/05/15 18:27:03 ram Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -1391,15 +1391,15 @@ ...@@ -1391,15 +1391,15 @@
(dolist (component components) (dolist (component components)
(compile-component component) (compile-component component)
(when (replace-top-level-xeps component) (when (replace-top-level-xeps component)
(setq top-level-closure t)))) (setq top-level-closure t)))
(when *check-consistency* (when *check-consistency*
(maybe-mumble "[Check]~%") (maybe-mumble "[Check]~%")
(check-ir1-consistency *all-components*)) (check-ir1-consistency *all-components*))
(if load-time-value-p (if load-time-value-p
(compile-load-time-value-lambda lambdas) (compile-load-time-value-lambda lambdas)
(compile-top-level-lambdas lambdas top-level-closure)) (compile-top-level-lambdas lambdas top-level-closure)))
(dolist (component components) (dolist (component components)
(clear-ir1-info component)) (clear-ir1-info component))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment