[llvm-commits] [llvm] r120525 - /llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp
Jan Wen Voung
jvoung at google.com
Tue Nov 30 17:38:58 PST 2010
Author: jvoung
Date: Tue Nov 30 19:38:58 2010
New Revision: 120525
URL: http://llvm.org/viewvc/llvm-project?rev=120525&view=rev
Log:
Initialize an ARMConstantPoolValue field.
Modified:
llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp?rev=120525&r1=120524&r2=120525&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp Tue Nov 30 19:38:58 2010
@@ -43,7 +43,7 @@
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);
More information about the llvm-commits
mailing list