Use class MachineCodeForMethod to print machine code.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 22 Oct 2001 13:52:03 +0000 (13:52 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 22 Oct 2001 13:52:03 +0000 (13:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@948 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp

index 43ea5a5cd0ffa1361237c53aeb2198e7a42f368a..c99f1a1c550adc5af574ec3940054e7578486fe5 100644 (file)
@@ -867,7 +867,7 @@ void PhyRegAlloc::allocateRegisters()
  
   updateMachineCode(); 
   if (DEBUG_RA) {
-    PrintMachineInstructions(Meth);
+    Meth->getMachineCode().dump();
     printMachineCode();                   // only for DEBUGGING
   }
 }
index 43ea5a5cd0ffa1361237c53aeb2198e7a42f368a..c99f1a1c550adc5af574ec3940054e7578486fe5 100644 (file)
@@ -867,7 +867,7 @@ void PhyRegAlloc::allocateRegisters()
  
   updateMachineCode(); 
   if (DEBUG_RA) {
-    PrintMachineInstructions(Meth);
+    Meth->getMachineCode().dump();
     printMachineCode();                   // only for DEBUGGING
   }
 }