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/ConstantPool.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/ConstantPool.cpp')
-rw-r--r-- | lib/VMCore/ConstantPool.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/VMCore/ConstantPool.cpp b/lib/VMCore/ConstantPool.cpp index 13463a1734..7f2f30a606 100644 --- a/lib/VMCore/ConstantPool.cpp +++ b/lib/VMCore/ConstantPool.cpp @@ -23,6 +23,11 @@ void ConstantPool::setParent(SymTabValue *STV) { Planes[i]->setParent(Parent); } +const Value *ConstantPool::getParentV() const { return Parent->getSTVParent(); } +Value *ConstantPool::getParentV() { return Parent->getSTVParent(); } + + + // Constant getPlane - Returns true if the type plane does not exist, otherwise // updates the pointer to point to the correct plane. // |