Fix compiler warnings

llvm-svn: 80650
This commit is contained in:
Jim Grosbach 2009-09-01 02:05:03 +00:00
parent 20eac92d88
commit 345a5ae6e4
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

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