aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/InstrSched
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/InstrSched')
-rw-r--r--lib/CodeGen/InstrSched/InstrScheduling.cpp4
-rw-r--r--lib/CodeGen/InstrSched/SchedPriorities.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/InstrSched/InstrScheduling.cpp b/lib/CodeGen/InstrSched/InstrScheduling.cpp
index 31eca39..69813c7 100644
--- a/lib/CodeGen/InstrSched/InstrScheduling.cpp
+++ b/lib/CodeGen/InstrSched/InstrScheduling.cpp
@@ -1504,13 +1504,13 @@ namespace {
Destroyed.push_back(MethodLiveVarInfo::ID);
}
- bool runOnMethod(Method *M);
+ bool runOnMethod(Function *F);
};
} // end anonymous namespace
bool
-InstructionSchedulingWithSSA::runOnMethod(Method *M)
+InstructionSchedulingWithSSA::runOnMethod(Function *M)
{
if (SchedDebugLevel == Sched_Disable)
return false;
diff --git a/lib/CodeGen/InstrSched/SchedPriorities.cpp b/lib/CodeGen/InstrSched/SchedPriorities.cpp
index 810692f..02e50c0 100644
--- a/lib/CodeGen/InstrSched/SchedPriorities.cpp
+++ b/lib/CodeGen/InstrSched/SchedPriorities.cpp
@@ -25,7 +25,7 @@
#include <iostream>
using std::cerr;
-SchedPriorities::SchedPriorities(const Method *method, const SchedGraph *G,
+SchedPriorities::SchedPriorities(const Function *, const SchedGraph *G,
MethodLiveVarInfo &LVI)
: curTime(0), graph(G), methodLiveVarInfo(LVI),
nodeDelayVec(G->getNumNodes(), INVALID_LATENCY), // make errors obvious