David Schneider avatar David Schneider committed ec2a19d

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

Comments (0)

Files changed (1)

pypy/jit/backend/ppc/ppcgen/ppc_assembler.py

         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 
         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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.