Author: Armin Rigo <[email protected]>
Branch: stmgc-c7-rewindjmp
Changeset: r72886:f7f9ae07a05b
Date: 2014-08-18 16:07 +0200
http://bitbucket.org/pypy/pypy/changeset/f7f9ae07a05b/
Log: Fix
diff --git a/rpython/jit/backend/llsupport/assembler.py
b/rpython/jit/backend/llsupport/assembler.py
--- a/rpython/jit/backend/llsupport/assembler.py
+++ b/rpython/jit/backend/llsupport/assembler.py
@@ -114,7 +114,8 @@
self._build_cond_call_slowpath(True, True)]
self._build_stack_check_slowpath()
- self._build_release_gil(gc_ll_descr.gcrootmap)
+ if not gc_ll_descr.stm:
+ self._build_release_gil(gc_ll_descr.gcrootmap)
if not self._debug:
# if self._debug is already set it means that someone called
# set_debug by hand before initializing the assembler. Leave it
@@ -361,8 +362,6 @@
lltype.Void))
def _build_release_gil(self, gcrootmap):
- if self.gc_ll_descr.stm:
- return
if gcrootmap is None or gcrootmap.is_shadow_stack:
reacqgil_func = llhelper(self._REACQGIL0_FUNC,
self._reacquire_gil_shadowstack)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit