[pypy-commit] pypy stmgc-c7: fix

arigo noreply at buildbot.pypy.org
Sun Mar 23 12:16:28 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r70193:dba83bbc67c6
Date: 2014-03-23 12:15 +0100
http://bitbucket.org/pypy/pypy/changeset/dba83bbc67c6/

Log:	fix

diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -866,6 +866,7 @@
             #
 
     def _call_footer(self):
+        gcrootmap = self.cpu.gc_ll_descr.gcrootmap
         if self.cpu.gc_ll_descr.stm and we_are_translated():
             # call stm_invalidate_jmp_buf(), in case we called
             # stm_transaction_break() earlier
@@ -892,7 +893,6 @@
             # the return value is the jitframe
             self.mc.MOV_rr(eax.value, ebp.value)
             #
-            gcrootmap = self.cpu.gc_ll_descr.gcrootmap
             if gcrootmap and gcrootmap.is_shadow_stack:
                 self._call_footer_shadowstack(gcrootmap)
 


More information about the pypy-commit mailing list