summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-14 06:10:49 +0000
committerChris Lattner <sabre@nondot.org>2001-07-14 06:10:49 +0000
commite545981a6a7bbc852a9b548d641b9c6ab954735f (patch)
tree51d79a1d344b56b08d4b8043b5fc88c083c9d435 /lib
parent54d56e3a995352784e290f97f11d1cf277080410 (diff)
downloadllvm-e545981a6a7bbc852a9b548d641b9c6ab954735f.tar.gz
llvm-e545981a6a7bbc852a9b548d641b9c6ab954735f.tar.bz2
llvm-e545981a6a7bbc852a9b548d641b9c6ab954735f.tar.xz
* The parent of a constant pool is a symtabvalue, not a value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Bytecode/Writer/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp
index 2be490dbed..32ea04009c 100644
--- a/lib/Bytecode/Writer/Writer.cpp
+++ b/lib/Bytecode/Writer/Writer.cpp
@@ -97,7 +97,7 @@ bool BytecodeWriter::processConstPool(const ConstantPool &CP, bool isMethod) {
delete CPool; // End bytecode block section!
if (!isMethod) // The ModuleInfoBlock follows directly after the c-pool
- outputModuleInfoBlock(CP.getParent()->castModuleAsserting());
+ outputModuleInfoBlock(CP.getParentV()->castModuleAsserting());
return false;
}