Initialize an ARMConstantPoolValue field.

llvm-svn: 120525
This commit is contained in:
Jan Wen Voung 2010-12-01 01:38:58 +00:00
parent c25545a1a7
commit d602c2cc19
1 changed files with 1 additions and 1 deletions

View File

@ -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);