MachineCodeForMethod is now an annotation on class Method.
llvm-svn: 1198
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
index 5de987b..e6ff462 100644
--- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
+++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
@@ -1537,7 +1537,7 @@
{
cout << endl
<< "*** Machine instructions after INSTRUCTION SCHEDULING" << endl;
- method->getMachineCode().dump();
+ MachineCodeForMethod::get(method).dump();
}
return false; // no reason to fail yet