[pypy-commit] pypy ppc-backend-2: Change force to call failure_recovery_func instead of

edelsohn noreply at buildbot.pypy.org
Fri Jun 1 20:41:03 CEST 2012


Author: edelsohn
Branch: ppc-backend-2
Changeset: r55263:8b6c0d0abb33
Date: 2012-06-01 14:40 -0400
http://bitbucket.org/pypy/pypy/changeset/8b6c0d0abb33/

Log:	Change force to call failure_recovery_func instead of
	decode_registers_and_descr directly.

diff --git a/pypy/jit/backend/ppc/runner.py b/pypy/jit/backend/ppc/runner.py
--- a/pypy/jit/backend/ppc/runner.py
+++ b/pypy/jit/backend/ppc/runner.py
@@ -100,10 +100,9 @@
         bytecode = self.asm._find_failure_recovery_bytecode(faildescr)
         addr_all_null_registers = rffi.cast(rffi.LONG, self.all_null_registers)
         # start of "no gc operation!" block
-        fail_index_2 = self.asm.decode_registers_and_descr(
+        fail_index_2 = self.asm.failure_recovery_func(
                 bytecode,
-                spilling_pointer,
-                self.all_null_registers)
+                spilling_pointer)
         self.asm.leave_jitted_hook()
         # end of "no gc operation!" block
         assert fail_index == fail_index_2


More information about the pypy-commit mailing list