commit | c023be29a4efbcea096427029a610c12e6c2b2ac | [log] [tgz] |
---|---|---|
author | Vikram S. Adve <vadve@cs.uiuc.edu> | Mon Oct 22 13:52:03 2001 +0000 |
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | Mon Oct 22 13:52:03 2001 +0000 |
tree | a1e0cc53a296d1e57e489d146c04ee1d0939ab20 | |
parent | 1d6158f98fb46ccf86af8285f066c8a513e453c5 [diff] [blame] |
Use class MachineCodeForMethod to print machine code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@948 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index 43ea5a5..c99f1a1 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -867,7 +867,7 @@ updateMachineCode(); if (DEBUG_RA) { - PrintMachineInstructions(Meth); + Meth->getMachineCode().dump(); printMachineCode(); // only for DEBUGGING } }