From: Vikram S. Adve Date: Thu, 8 Nov 2001 05:18:18 +0000 (+0000) Subject: MachineCodeForMethod is now an annotation on class Method. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=af1d2c80e03b01e995e7a5cdbcdd625082a4ebfb;p=oota-llvm.git MachineCodeForMethod is now an annotation on class Method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1198 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/InstrSched/InstrScheduling.cpp b/lib/CodeGen/InstrSched/InstrScheduling.cpp index 5de987b3b54..e6ff462a3d2 100644 --- a/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -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 diff --git a/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp b/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp index 5de987b3b54..e6ff462a3d2 100644 --- a/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp +++ b/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp @@ -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