[pypy-commit] pypy ppc-jit-backend: fix wrong guard condition in CALL_ASSEMBLER
hager
noreply at buildbot.pypy.org
Tue Jan 3 12:25:09 CET 2012
Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r50989:4da195ede6a6
Date: 2012-01-03 03:24 -0800
http://bitbucket.org/pypy/pypy/changeset/4da195ede6a6/
Log: fix wrong guard condition in CALL_ASSEMBLER
diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.py
--- a/pypy/jit/backend/ppc/ppcgen/opassembler.py
+++ b/pypy/jit/backend/ppc/ppcgen/opassembler.py
@@ -1001,7 +1001,7 @@
self.mc.cror(2, 1, 2)
self.mc.free_scratch_reg()
- self._emit_guard(guard_op, regalloc._prepare_guard(guard_op), c.EQ)
+ self._emit_guard(guard_op, regalloc._prepare_guard(guard_op), c.LT)
def emit_guard_call_may_force(self, op, guard_op, arglocs, regalloc):
ENCODING_AREA = len(r.MANAGED_REGS) * WORD
More information about the pypy-commit
mailing list