Author: Remi Meier <[email protected]>
Branch: stmgc-c7
Changeset: r73108:9ba1d8b49ca3
Date: 2014-08-28 11:02 +0200
http://bitbucket.org/pypy/pypy/changeset/9ba1d8b49ca3/

Log:    opimpl impl for stm_transaction_break

diff --git a/rpython/rtyper/lltypesystem/lloperation.py 
b/rpython/rtyper/lltypesystem/lloperation.py
--- a/rpython/rtyper/lltypesystem/lloperation.py
+++ b/rpython/rtyper/lltypesystem/lloperation.py
@@ -434,7 +434,7 @@
     'stm_abort_and_retry':                LLOp(canmallocgc=True),
     'stm_enter_callback_call':            LLOp(canmallocgc=True),
     'stm_leave_callback_call':            LLOp(),
-    'stm_transaction_break':              LLOp(canmallocgc=True),
+    'stm_transaction_break':              LLOp(canmallocgc=True, canrun=True),
     'stm_should_break_transaction':       LLOp(sideeffects=False),
     'stm_rewind_jmp_frame':               LLOp(canrun=True),
     'stm_set_transaction_length':         LLOp(),
diff --git a/rpython/rtyper/lltypesystem/opimpl.py 
b/rpython/rtyper/lltypesystem/opimpl.py
--- a/rpython/rtyper/lltypesystem/opimpl.py
+++ b/rpython/rtyper/lltypesystem/opimpl.py
@@ -718,6 +718,9 @@
 def op_stm_rewind_jmp_frame(x=None):
     return llmemory.NULL
 
+def op_stm_transaction_break():
+    pass
+
 def op_stm_hint_commit_soon():
     pass
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to