mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-02 10:49:22 +00:00
* The parent of a constant pool is a symtabvalue, not a value.
llvm-svn: 181
This commit is contained in:
parent
32e96bcb54
commit
dbfb7d8042
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user