summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-10-22 13:52:03 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-10-22 13:52:03 +0000
commit901da32e64365fa585b2c0c1651b80e5c15fb0ab (patch)
treefc4ad1ed0eda8634411900f77df575115047e2f4 /llvm/lib/CodeGen
parentcc80b02834507be2116e4d8d86dd92cf6cbc090a (diff)
downloadbcm5719-llvm-901da32e64365fa585b2c0c1651b80e5c15fb0ab.tar.gz
bcm5719-llvm-901da32e64365fa585b2c0c1651b80e5c15fb0ab.zip
Use class MachineCodeForMethod to print machine code.
llvm-svn: 948
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index 43ea5a5cd0f..c99f1a1c550 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
+++ b/llvm/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
}
}
OpenPOWER on IntegriCloud