Use class MachineCodeForMethod to print machine code.

llvm-svn: 948
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index 43ea5a5..c99f1a1 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -867,7 +867,7 @@
  
   updateMachineCode(); 
   if (DEBUG_RA) {
-    PrintMachineInstructions(Meth);
+    Meth->getMachineCode().dump();
     printMachineCode();                   // only for DEBUGGING
   }
 }