Use class MachineCodeForMethod to print machine code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2001-10-22 13:52:03 +00:00
parent 1d6158f98f
commit c023be29a4
2 changed files with 2 additions and 2 deletions

View File

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

View File

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