forked from OSchip/llvm-project
Use class MachineCodeForMethod to print machine code.
llvm-svn: 948
This commit is contained in:
parent
cc80b02834
commit
901da32e64
llvm/lib/CodeGen/RegAlloc
|
@ -867,7 +867,7 @@ void PhyRegAlloc::allocateRegisters()
|
||||||
|
|
||||||
updateMachineCode();
|
updateMachineCode();
|
||||||
if (DEBUG_RA) {
|
if (DEBUG_RA) {
|
||||||
PrintMachineInstructions(Meth);
|
Meth->getMachineCode().dump();
|
||||||
printMachineCode(); // only for DEBUGGING
|
printMachineCode(); // only for DEBUGGING
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue