Author: Remi Meier <remi.me...@inf.ethz.ch>
Branch: stmgc-c7
Changeset: r73061:2a2fff134037
Date: 2014-08-26 18:12 +0200
http://bitbucket.org/pypy/pypy/changeset/2a2fff134037/

Log:    PYPY_NO_OP is transactionsafe

diff --git a/rpython/rtyper/lltypesystem/rffi.py 
b/rpython/rtyper/lltypesystem/rffi.py
--- a/rpython/rtyper/lltypesystem/rffi.py
+++ b/rpython/rtyper/lltypesystem/rffi.py
@@ -393,7 +393,7 @@
     eci = eci.merge(compilation_info)
     return llexternal('PYPY_NO_OP', [], lltype.Void,
                       compilation_info=eci, sandboxsafe=True, _nowrapper=True,
-                      _callable=lambda: None)
+                      _callable=lambda: None, transactionsafe=True)
 
 def generate_macro_wrapper(name, macro, functype, eci):
     """Wraps a function-like macro inside a real function, and expose
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to