diff options
author | Chris Lattner <sabre@nondot.org> | 2001-07-14 06:13:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-07-14 06:13:19 +0000 |
commit | a3d3c2b64545c00f70453642e5d84b028dfce671 (patch) | |
tree | 587a52c39934f230cc50f86ffcbbde95ee2223b2 /lib/VMCore/Function.cpp | |
parent | 3b7bfdb201fadea61639dee8f4de4181d745e858 (diff) |
* ValueHolder now takes 3 arguments
* Added a few methods to ConstantPool
* ConstPoolVal no longer derives from Value
* Method & Module multiply inherit from SymTabValue & Value now
* Added a GetElementPtrInst::isStructSelector() method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184 91177308-0d34-0410-b5e6-96231b3b80d8
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; |