diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-15 22:50:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-15 22:50:50 +0000 |
commit | bc4434135fca0e0feff89cf6fe3baa25c6bd4ee0 (patch) | |
tree | 0d0b9c1a2a6ae1f7c4fc8bc94469edb497af6454 /lib | |
parent | bea0b6a0495c8c80ad7d52d4bc28acdee926020b (diff) | |
download | external_llvm-bc4434135fca0e0feff89cf6fe3baa25c6bd4ee0.zip external_llvm-bc4434135fca0e0feff89cf6fe3baa25c6bd4ee0.tar.gz external_llvm-bc4434135fca0e0feff89cf6fe3baa25c6bd4ee0.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/PowerPC/PPCCodeEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCCodeEmitter.cpp b/lib/Target/PowerPC/PPCCodeEmitter.cpp index 4633215..7c5fa7d 100644 --- a/lib/Target/PowerPC/PPCCodeEmitter.cpp +++ b/lib/Target/PowerPC/PPCCodeEmitter.cpp @@ -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(), |