diff options
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index aa0d08b0a2..3d4a3547b0 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -15,11 +15,11 @@ // Instantiate Templates - This ugliness is the price we have to pay // for having a ValueHolderImpl.h file seperate from ValueHolder.h! :( // -template class ValueHolder<MethodArgument, Method>; -template class ValueHolder<BasicBlock , Method>; +template class ValueHolder<MethodArgument, Method, Method>; +template class ValueHolder<BasicBlock , Method, Method>; Method::Method(const MethodType *Ty, const string &name) - : SymTabValue(Ty, Value::MethodVal, name), BasicBlocks(this), + : Value(Ty, Value::MethodVal, name), SymTabValue(this), BasicBlocks(this), ArgumentList(this, this) { assert(Ty->isMethodType() && "Method signature must be of method type!"); Parent = 0; |