mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +00:00
Squelch a bogus warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18156 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dd30751654
commit
d7fa35c6d2
@ -194,7 +194,7 @@ int PPC32CodeEmitter::getMachineOpValue(MachineInstr &MI, MachineOperand &MO) {
|
|||||||
} else if (MO.isImmediate()) {
|
} else if (MO.isImmediate()) {
|
||||||
rv = MO.getImmedValue();
|
rv = MO.getImmedValue();
|
||||||
} else if (MO.isGlobalAddress()) {
|
} else if (MO.isGlobalAddress()) {
|
||||||
unsigned Reloc;
|
unsigned Reloc = 0;
|
||||||
if (MI.getOpcode() == PPC::CALLpcrel)
|
if (MI.getOpcode() == PPC::CALLpcrel)
|
||||||
Reloc = PPC::reloc_pcrel_bx;
|
Reloc = PPC::reloc_pcrel_bx;
|
||||||
else if (MI.getOpcode() == PPC::LOADHiAddr) {
|
else if (MI.getOpcode() == PPC::LOADHiAddr) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user