Author: David Schneider <[email protected]>
Branch: ppc-jit-backend-rpythonization
Changeset: r52195:ec2a19d0b674
Date: 2012-02-07 08:15 -0800
http://bitbucket.org/pypy/pypy/changeset/ec2a19d0b674/

Log:    move the call to setup_failure_recovery to the init method of the
        assembler to fix an annotation issue

diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py 
b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
--- a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
+++ b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
@@ -106,6 +106,7 @@
         self._regalloc = None
         self.max_stack_params = 0
         self.propagate_exception_path = 0
+        self.setup_failure_recovery()
 
     def _save_nonvolatiles(self):
         """ save nonvolatile GPRs in GPR SAVE AREA 
@@ -382,7 +383,6 @@
         gc_ll_descr.initialize()
         self._build_propagate_exception_path()
         self.memcpy_addr = self.cpu.cast_ptr_to_int(memcpy_fn)
-        self.setup_failure_recovery()
         self.exit_code_adr = self._gen_exit_path()
         self._leave_jitted_hook_save_exc = 
self._gen_leave_jitted_hook_code(True)
         self._leave_jitted_hook = self._gen_leave_jitted_hook_code(False)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to