Squelch a bogus warning

llvm-svn: 18157
This commit is contained in:
Chris Lattner 2004-11-23 15:57:01 +00:00
parent b1fd07a862
commit cccd49f1b7
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ int64_t SparcV9CodeEmitter::getMachineOpValue(MachineInstr &MI,
// So undo that: give the instruction (CI - PC) / 4
rv = (CI->getRawValue() - MCE.getCurrentPCValue()) / 4;
} else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
unsigned Reloc;
unsigned Reloc = 0;
if (MI.getOpcode() == V9::CALL) {
Reloc = V9::reloc_pcrel_call;
} else if (MI.getOpcode() == V9::SETHI) {