From 191258c19b5725c9eece052f3ecf721d953d68d7 Mon Sep 17 00:00:00 2001
From: hallgren <hallgren>
Date: Thu, 30 Jul 1992 13:24:54 +0000
Subject: [PATCH] Changed NATIVE-COMPILE-COMPONENT to output the disassembly to
 the trace file when using new-assem.

---
 compiler/main.lisp | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/compiler/main.lisp b/compiler/main.lisp
index a6aee90df..9e2a29753 100644
--- a/compiler/main.lisp
+++ b/compiler/main.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (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 @@
 		      component)
 	      (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*
 	      (count-vops component))
 	    
-- 
GitLab