diff options
author | Chris Lattner <sabre@nondot.org> | 2002-03-23 22:51:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-03-23 22:51:58 +0000 |
commit | e7506a366e8bd56c97d10beb68e4db953aebaeca (patch) | |
tree | 2ed9896ec8647934d3c26cb740dc4ed16d9ae57b /lib/CodeGen/InstrSched/SchedPriorities.h | |
parent | bcd8e0313853473f72a138e51072f9bd545fadd2 (diff) |
Rename Method to Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSched/SchedPriorities.h')
-rw-r--r-- | lib/CodeGen/InstrSched/SchedPriorities.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/InstrSched/SchedPriorities.h b/lib/CodeGen/InstrSched/SchedPriorities.h index f99d7ce86e..2d0bff9765 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 @@ private: 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. |