Author: Armin Rigo <[email protected]>
Branch: stmgc-c7-rewindjmp
Changeset: r72801:8f655372a008
Date: 2014-08-14 16:18 +0200
http://bitbucket.org/pypy/pypy/changeset/8f655372a008/

Log:    Fix.

diff --git a/rpython/translator/stm/src_stm/stmgcintf.c 
b/rpython/translator/stm/src_stm/stmgcintf.c
--- a/rpython/translator/stm/src_stm/stmgcintf.c
+++ b/rpython/translator/stm/src_stm/stmgcintf.c
@@ -248,7 +248,7 @@
 
 void pypy_stm_become_globally_unique_transaction(void)
 {
-    if (STM_SEGMENT->jmpbuf_ptr != NULL) {
+    if (!stm_is_inevitable()) {
         _pypy_stm_inev_state();
     }
     stm_become_globally_unique_transaction(&stm_thread_local, "for the JIT");
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to