1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

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:
Chris Lattner 2010-11-15 22:50:50 +00:00
parent 465c07cc66
commit 24aff5bdbd

View File

@ -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(),