forked from OSchip/llvm-project
Initialize an ARMConstantPoolValue field.
llvm-svn: 120525
This commit is contained in:
parent
c25545a1a7
commit
d602c2cc19
|
@ -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