Rename Method to Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1957 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/InstrSched/SchedPriorities.h b/lib/CodeGen/InstrSched/SchedPriorities.h
index f99d7ce..2d0bff9 100644
--- a/lib/CodeGen/InstrSched/SchedPriorities.h
+++ b/lib/CodeGen/InstrSched/SchedPriorities.h
@@ -28,7 +28,7 @@
#include <list>
#include <ext/hash_set>
#include <iostream>
-class Method;
+class Function;
class MachineInstr;
class SchedulingManager;
class MethodLiveVarInfo;
@@ -125,7 +125,8 @@
class SchedPriorities: public NonCopyable {
public:
- SchedPriorities(const Method *M, const SchedGraph *G, MethodLiveVarInfo &LVI);
+ SchedPriorities(const Function *F, const SchedGraph *G,
+ MethodLiveVarInfo &LVI);
// This must be called before scheduling begins.