aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore/ConstantPool.cpp')
-rw-r--r--lib/VMCore/ConstantPool.cpp5
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.
//