Rename Method to Function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-03-23 22:51:58 +00:00
parent bcd8e03138
commit e7506a366e
39 changed files with 162 additions and 164 deletions

View File

@ -27,12 +27,6 @@
#define BCR_TRACE(n, X)
#endif
class BasicBlock;
class Method;
class Module;
class Type;
class PointerType;
typedef unsigned char uchar;
struct RawInst { // The raw fields out of the bytecode stream...

View File

@ -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: