mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
* 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
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user