forked from OSchip/llvm-project
fix a pasto that massively broke the ppc jit while the buildbots happened
to be broken for other reasons llvm-svn: 119283
This commit is contained in:
parent
e6f030467c
commit
bf9f2f2c29
|
@ -168,8 +168,8 @@ MachineRelocation PPCCodeEmitter::GetRelocation(const MachineOperand &MO,
|
|||
RelocID, MO.getIndex(), Cst);
|
||||
|
||||
if (MO.isMBB())
|
||||
MCE.addRelocation(MachineRelocation::getBB(MCE.getCurrentPCOffset(),
|
||||
RelocID, MO.getMBB()));
|
||||
return MachineRelocation::getBB(MCE.getCurrentPCOffset(),
|
||||
RelocID, MO.getMBB());
|
||||
|
||||
assert(MO.isJTI());
|
||||
return MachineRelocation::getJumpTable(MCE.getCurrentPCOffset(),
|
||||
|
|
Loading…
Reference in New Issue