Commit 191258c1 authored by hallgren's avatar hallgren
Browse files

Changed NATIVE-COMPILE-COMPONENT to output the disassembly to the trace file

when using new-assem.
parent 2fe1ec02
...@@ -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.67 1992/07/28 20:23:02 wlott Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/main.lisp,v 1.68 1992/07/30 13:24:54 hallgren Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -293,6 +293,14 @@ ...@@ -293,6 +293,14 @@
component) component)
(assem:dump-segment *code-segment* :stream *compiler-trace-output*)) (assem:dump-segment *code-segment* :stream *compiler-trace-output*))
(when (and *compiler-trace-output*
(backend-featurep :new-assembler))
(format *compiler-trace-output*
"~|~%Disassembly of code for ~S~2%" component)
(disassem:disassemble-blocks *code-segment*
*compiler-trace-output*
*backend*))
(when *count-vop-usages* (when *count-vop-usages*
(count-vops component)) (count-vops 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