diff options
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index b7aa855b2c..349dd61a84 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -21,10 +21,10 @@ class MethodArgument; class MethodType; class Module; -class Method : public SymTabValue { +class Method : public Value, public SymTabValue { public: - typedef ValueHolder<MethodArgument, Method> ArgumentListType; - typedef ValueHolder<BasicBlock , Method> BasicBlocksType; + typedef ValueHolder<MethodArgument, Method, Method> ArgumentListType; + typedef ValueHolder<BasicBlock , Method, Method> BasicBlocksType; // BasicBlock iterators... typedef BasicBlocksType::iterator iterator; @@ -40,7 +40,7 @@ private: Module *Parent; // The module that contains this method - friend class ValueHolder<Method,Module>; + friend class ValueHolder<Method,Module, Module>; void setParent(Module *parent); public: |