mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
Initialize an ARMConstantPoolValue field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
40062fb747
commit
a63bf704b4
@ -43,7 +43,7 @@ ARMConstantPoolValue::ARMConstantPoolValue(const GlobalValue *gv,
|
||||
ARMCP::ARMCPModifier Modif)
|
||||
: MachineConstantPoolValue((const Type*)Type::getInt32Ty(gv->getContext())),
|
||||
CVal(gv), S(NULL), LabelId(0), Kind(ARMCP::CPValue), PCAdjust(0),
|
||||
Modifier(Modif) {}
|
||||
Modifier(Modif), AddCurrentAddress(false) {}
|
||||
|
||||
const GlobalValue *ARMConstantPoolValue::getGV() const {
|
||||
return dyn_cast_or_null<GlobalValue>(CVal);
|
||||
|
Loading…
Reference in New Issue
Block a user