From b3c318b9d86c23904e45636fa1411b2f1149bbab Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Tue, 1 Sep 2009 02:05:03 +0000 Subject: [PATCH] Fix compiler warnings llvm-svn: 80650 --- lib/Target/ARM/ARMConstantPoolValue.cpp | 2 +- lib/Target/ARM/ARMConstantPoolValue.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/ARM/ARMConstantPoolValue.cpp b/lib/Target/ARM/ARMConstantPoolValue.cpp index e44574b55c9..71700893a3e 100644 --- a/lib/Target/ARM/ARMConstantPoolValue.cpp +++ b/lib/Target/ARM/ARMConstantPoolValue.cpp @@ -39,7 +39,7 @@ ARMConstantPoolValue::ARMConstantPoolValue(LLVMContext &C, ARMConstantPoolValue::ARMConstantPoolValue(GlobalValue *gv, const char *Modif) : MachineConstantPoolValue((const Type*)Type::getInt32Ty(gv->getContext())), - GV(gv), S(NULL), Kind(ARMCP::CPValue), LabelId(0), PCAdjust(0), + GV(gv), S(NULL), LabelId(0), Kind(ARMCP::CPValue), PCAdjust(0), Modifier(Modif) {} int ARMConstantPoolValue::getExistingMachineCPValue(MachineConstantPool *CP, diff --git a/lib/Target/ARM/ARMConstantPoolValue.h b/lib/Target/ARM/ARMConstantPoolValue.h index 525346dd41f..00c48086aef 100644 --- a/lib/Target/ARM/ARMConstantPoolValue.h +++ b/lib/Target/ARM/ARMConstantPoolValue.h @@ -34,8 +34,8 @@ namespace ARMCP { class ARMConstantPoolValue : public MachineConstantPoolValue { GlobalValue *GV; // GlobalValue being loaded. const char *S; // ExtSymbol being loaded. - ARMCP::ARMCPKind Kind; // Value or LSDA? unsigned LabelId; // Label id of the load. + ARMCP::ARMCPKind Kind; // Value or LSDA? unsigned char PCAdjust; // Extra adjustment if constantpool is pc relative. // 8 for ARM, 4 for Thumb. const char *Modifier; // GV modifier i.e. (&GV(modifier)-(LPIC+8))