aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bytecode/Writer/SlotCalculator.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/Bytecode/Writer/SlotCalculator.h
parentbcd8e0313853473f72a138e51072f9bd545fadd2 (diff)
downloadexternal_llvm-e7506a366e8bd56c97d10beb68e4db953aebaeca.zip
external_llvm-e7506a366e8bd56c97d10beb68e4db953aebaeca.tar.gz
external_llvm-e7506a366e8bd56c97d10beb68e4db953aebaeca.tar.bz2
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/Bytecode/Writer/SlotCalculator.h')
-rw-r--r--lib/Bytecode/Writer/SlotCalculator.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h
index 9528244..e8fead7 100644
--- a/lib/Bytecode/Writer/SlotCalculator.h
+++ b/lib/Bytecode/Writer/SlotCalculator.h
@@ -14,7 +14,7 @@
#include <map>
class Value;
class Module;
-class Method;
+class Function;
class MethodArgument;
class BasicBlock;
class Instruction;
@@ -34,7 +34,8 @@ class SlotCalculator {
public:
SlotCalculator(const Module *M, bool IgnoreNamed);
- SlotCalculator(const Method *M, bool IgnoreNamed);// Start out in incorp state
+ // Start out in incorp state
+ SlotCalculator(const Function *M, bool IgnoreNamed);
inline ~SlotCalculator() {}
// getValSlot returns < 0 on error!
@@ -52,7 +53,7 @@ public:
// If you'd like to deal with a method, use these two methods to get its data
// into the SlotCalculator!
//
- void incorporateMethod(const Method *M);
+ void incorporateMethod(const Function *F);
void purgeMethod();
protected: