[pypy-commit] pypy ppc-jit-backend: (bivab, hager): set save_exc in emit_guard_call_may_force

hager noreply at buildbot.pypy.org
Tue Feb 14 13:26:52 CET 2012


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r52446:6c5b993e84ac
Date: 2012-02-14 13:26 +0100
http://bitbucket.org/pypy/pypy/changeset/6c5b993e84ac/

Log:	(bivab, hager): set save_exc in emit_guard_call_may_force

diff --git a/pypy/jit/backend/ppc/opassembler.py b/pypy/jit/backend/ppc/opassembler.py
--- a/pypy/jit/backend/ppc/opassembler.py
+++ b/pypy/jit/backend/ppc/opassembler.py
@@ -1095,7 +1095,7 @@
         self.mc.load(r.SCRATCH.value, r.SPP.value, ENCODING_AREA)
         self.mc.cmp_op(0, r.SCRATCH.value, 0, imm=True)
         self.mc.free_scratch_reg()
-        self._emit_guard(guard_op, arglocs, c.LT)
+        self._emit_guard(guard_op, arglocs, c.LT, save_exc=True)
 
     emit_guard_call_release_gil = emit_guard_call_may_force
 


More information about the pypy-commit mailing list