summaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/InstrSched/SchedPriorities.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-23 22:51:58 +0000
committerChris Lattner <sabre@nondot.org>2002-03-23 22:51:58 +0000
commite7506a366e8bd56c97d10beb68e4db953aebaeca (patch)
tree2ed9896ec8647934d3c26cb740dc4ed16d9ae57b /lib/Target/SparcV9/InstrSched/SchedPriorities.h
parentbcd8e0313853473f72a138e51072f9bd545fadd2 (diff)
downloadllvm-e7506a366e8bd56c97d10beb68e4db953aebaeca.tar.gz
llvm-e7506a366e8bd56c97d10beb68e4db953aebaeca.tar.bz2
llvm-e7506a366e8bd56c97d10beb68e4db953aebaeca.tar.xz
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/Target/SparcV9/InstrSched/SchedPriorities.h')
-rw-r--r--lib/Target/SparcV9/InstrSched/SchedPriorities.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/SparcV9/InstrSched/SchedPriorities.h b/lib/Target/SparcV9/InstrSched/SchedPriorities.h
index f99d7ce86e..2d0bff9765 100644
--- a/lib/Target/SparcV9/InstrSched/SchedPriorities.h
+++ b/lib/Target/SparcV9/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.