MachineCodeForMethod is now an annotation on class Method.
[oota-llvm.git] / lib / Target / SparcV9 / InstrSched / InstrScheduling.cpp
index 5de987b3b5409ff88ceadcd1cedd93dd1f524efb..e6ff462a3d218ffdf673b15fdf50580ccd998c5a 100644 (file)
@@ -1537,7 +1537,7 @@ ScheduleInstructionsWithSSA(Method* method,
     {
       cout << endl
           << "*** Machine instructions after INSTRUCTION SCHEDULING" << endl;
-      method->getMachineCode().dump();
+      MachineCodeForMethod::get(method).dump();
     }
   
   return false;                                         // no reason to fail yet