Author: David Schneider <[email protected]>
Branch: ppc-jit-backend
Changeset: r52664:8f787b47866d
Date: 2012-02-19 06:33 -0800
http://bitbucket.org/pypy/pypy/changeset/8f787b47866d/
Log: Actually patch the machine code
diff --git a/pypy/jit/backend/ppc/ppc_assembler.py
b/pypy/jit/backend/ppc/ppc_assembler.py
--- a/pypy/jit/backend/ppc/ppc_assembler.py
+++ b/pypy/jit/backend/ppc/ppc_assembler.py
@@ -1024,6 +1024,7 @@
offset = self.mc.currpos() - fast_jmp_pos
pmc = OverwritingBuilder(self.mc, fast_jmp_pos, 1)
pmc.bc(4, 1, offset) # jump if LE (not GT)
+ pmc.overwrite()
with scratch_reg(self.mc):
self.mc.load_imm(r.SCRATCH, nursery_free_adr)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit