mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-12 16:25:18 +00:00
Squelch a bogus warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -142,7 +142,7 @@ int64_t SparcV9CodeEmitter::getMachineOpValue(MachineInstr &MI,
|
|||||||
// So undo that: give the instruction (CI - PC) / 4
|
// So undo that: give the instruction (CI - PC) / 4
|
||||||
rv = (CI->getRawValue() - MCE.getCurrentPCValue()) / 4;
|
rv = (CI->getRawValue() - MCE.getCurrentPCValue()) / 4;
|
||||||
} else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
|
} else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
|
||||||
unsigned Reloc;
|
unsigned Reloc = 0;
|
||||||
if (MI.getOpcode() == V9::CALL) {
|
if (MI.getOpcode() == V9::CALL) {
|
||||||
Reloc = V9::reloc_pcrel_call;
|
Reloc = V9::reloc_pcrel_call;
|
||||||
} else if (MI.getOpcode() == V9::SETHI) {
|
} else if (MI.getOpcode() == V9::SETHI) {
|
||||||
|
Reference in New Issue
Block a user