summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitf2a738cfe265970525a95f01167b40b34bb08dde (patch)
tree06254d74463e56833802db8e62a77c3b3ee22137 /llvm/lib/VMCore/Module.cpp
parent5451c9e977690c73a67b0fb44ea84a2e18112d47 (diff)
downloadbcm5719-llvm-f2a738cfe265970525a95f01167b40b34bb08dde.tar.gz
bcm5719-llvm-f2a738cfe265970525a95f01167b40b34bb08dde.zip
* 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 llvm-svn: 184
Diffstat (limited to 'llvm/lib/VMCore/Module.cpp')
-rw-r--r--llvm/lib/VMCore/Module.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Module.cpp b/llvm/lib/VMCore/Module.cpp
index cec75bd3fb6..9d0015f7696 100644
--- a/llvm/lib/VMCore/Module.cpp
+++ b/llvm/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) {
}
OpenPOWER on IntegriCloud