diff options
Diffstat (limited to 'lib/Bytecode')
-rw-r--r-- | lib/Bytecode/Reader/ReaderInternals.h | 6 | ||||
-rw-r--r-- | lib/Bytecode/Writer/SlotCalculator.h | 7 |
2 files changed, 4 insertions, 9 deletions
diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h index a5b3b7acfd..54cda44a6b 100644 --- a/lib/Bytecode/Reader/ReaderInternals.h +++ b/lib/Bytecode/Reader/ReaderInternals.h @@ -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... diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h index 95282447a5..e8fead76bb 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: |