From: Jim Grosbach Date: Tue, 1 Sep 2009 02:05:03 +0000 (+0000) Subject: Fix compiler warnings X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=27830e39c4e960a5c372deedfcd082d6393d9355;p=oota-llvm.git Fix compiler warnings git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80650 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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))