[llvm-commits] [llvm] r119283 - /llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp
Chris Lattner
sabre at nondot.org
Mon Nov 15 14:50:51 PST 2010
Author: lattner
Date: Mon Nov 15 16:50:50 2010
New Revision: 119283
URL: http://llvm.org/viewvc/llvm-project?rev=119283&view=rev
Log:
fix a pasto that massively broke the ppc jit while the buildbots happened
to be broken for other reasons
Modified:
llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp?rev=119283&r1=119282&r2=119283&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp Mon Nov 15 16:50:50 2010
@@ -168,8 +168,8 @@
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(),
More information about the llvm-commits
mailing list