projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bea0b6a
)
fix a pasto that massively broke the ppc jit while the buildbots happened
author
Chris Lattner
<sabre@nondot.org>
Mon, 15 Nov 2010 22:50:50 +0000
(22:50 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 15 Nov 2010 22:50:50 +0000
(22:50 +0000)
to be broken for other reasons
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119283
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCCodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCCodeEmitter.cpp
b/lib/Target/PowerPC/PPCCodeEmitter.cpp
index 46332158fb5c710c9a99ebf42314462b590b86b8..7c5fa7d5e475ec26a930cad1612dce2c18c39613 100644
(file)
--- 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(),