aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Module.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-14 06:13:19 +0000
committerChris Lattner <sabre@nondot.org>2001-07-14 06:13:19 +0000
commita3d3c2b64545c00f70453642e5d84b028dfce671 (patch)
tree587a52c39934f230cc50f86ffcbbde95ee2223b2 /lib/VMCore/Module.cpp
parent3b7bfdb201fadea61639dee8f4de4181d745e858 (diff)
downloadexternal_llvm-a3d3c2b64545c00f70453642e5d84b028dfce671.zip
external_llvm-a3d3c2b64545c00f70453642e5d84b028dfce671.tar.gz
external_llvm-a3d3c2b64545c00f70453642e5d84b028dfce671.tar.bz2
* 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/Module.cpp')
-rw-r--r--lib/VMCore/Module.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp
index cec75bd..9d0015f 100644
--- a/lib/VMCore/Module.cpp
+++ b/lib/VMCore/Module.cpp
@@ -14,10 +14,10 @@
// Instantiate Templates - This ugliness is the price we have to pay
// for having a DefHolderImpl.h file seperate from DefHolder.h! :(
//
-template class ValueHolder<Method, Module>;
+template class ValueHolder<Method, Module, Module>;
Module::Module()
- : SymTabValue(0/*TODO: REAL TYPE*/, Value::ModuleVal, ""),
+ : Value(0/*TODO: REAL TYPE*/, Value::ModuleVal, ""), SymTabValue(this),
MethodList(this, this) {
}