mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-16 23:19:37 +00:00
fix a pasto that massively broke the ppc jit while the buildbots happened
to be broken for other reasons git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119283 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bea0b6a049
commit
bc4434135f
@ -168,8 +168,8 @@ MachineRelocation PPCCodeEmitter::GetRelocation(const MachineOperand &MO,
|
|||||||
RelocID, MO.getIndex(), Cst);
|
RelocID, MO.getIndex(), Cst);
|
||||||
|
|
||||||
if (MO.isMBB())
|
if (MO.isMBB())
|
||||||
MCE.addRelocation(MachineRelocation::getBB(MCE.getCurrentPCOffset(),
|
return MachineRelocation::getBB(MCE.getCurrentPCOffset(),
|
||||||
RelocID, MO.getMBB()));
|
RelocID, MO.getMBB());
|
||||||
|
|
||||||
assert(MO.isJTI());
|
assert(MO.isJTI());
|
||||||
return MachineRelocation::getJumpTable(MCE.getCurrentPCOffset(),
|
return MachineRelocation::getJumpTable(MCE.getCurrentPCOffset(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user