diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-10-22 13:52:03 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-10-22 13:52:03 +0000 |
commit | c023be29a4efbcea096427029a610c12e6c2b2ac (patch) | |
tree | a1e0cc53a296d1e57e489d146c04ee1d0939ab20 | |
parent | 1d6158f98fb46ccf86af8285f066c8a513e453c5 (diff) |
Use class MachineCodeForMethod to print machine code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@948 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 2 | ||||
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index 43ea5a5cd0..c99f1a1c55 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -867,7 +867,7 @@ void PhyRegAlloc::allocateRegisters() updateMachineCode(); if (DEBUG_RA) { - PrintMachineInstructions(Meth); + Meth->getMachineCode().dump(); printMachineCode(); // only for DEBUGGING } } diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index 43ea5a5cd0..c99f1a1c55 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -867,7 +867,7 @@ void PhyRegAlloc::allocateRegisters() updateMachineCode(); if (DEBUG_RA) { - PrintMachineInstructions(Meth); + Meth->getMachineCode().dump(); printMachineCode(); // only for DEBUGGING } } |