diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index 43ea5a5cd0ff..c99f1a1c550a 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 } }