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 e6f030467c
commit bf9f2f2c29
1 changed files with 2 additions and 2 deletions

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