Commit e487149c authored by wlott's avatar wlott
Browse files

Pass the trace table returned by generate-code on into fasl-dump-component

or make-core-component.
parent d10fbdc6
...@@ -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.34 1991/03/12 16:44:05 ram Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/main.lisp,v 1.35 1991/03/20 03:01:09 wlott Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -231,7 +231,9 @@ ...@@ -231,7 +231,9 @@
(describe-component component *compiler-trace-output*)) (describe-component component *compiler-trace-output*))
(maybe-mumble "Code ") (maybe-mumble "Code ")
(let ((length (generate-code component))) (multiple-value-bind
(length trace-table)
(generate-code component)
(when *compiler-trace-output* (when *compiler-trace-output*
(format *compiler-trace-output* (format *compiler-trace-output*
...@@ -248,10 +250,12 @@ ...@@ -248,10 +250,12 @@
(etypecase object (etypecase object
(fasl-file (fasl-file
(maybe-mumble "FASL") (maybe-mumble "FASL")
(fasl-dump-component component *code-segment* length object)) (fasl-dump-component component *code-segment*
length trace-table object))
(core-object (core-object
(maybe-mumble "Core") (maybe-mumble "Core")
(make-core-component component *code-segment* length object)) (make-core-component component *code-segment*
length trace-table object))
(null)) (null))
(nuke-segment *code-segment*))) (nuke-segment *code-segment*)))
......
Supports Markdown
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