Author: Armin Rigo <[email protected]>
Branch: stm-thread-2
Changeset: r59402:d841f7a93c5d
Date: 2012-12-11 16:04 +0100
http://bitbucket.org/pypy/pypy/changeset/d841f7a93c5d/

Log:    stm: don't turn inevitable on weakref_* [copied from meierrem on
        stm-logging]

diff --git a/pypy/translator/stm/inevitable.py 
b/pypy/translator/stm/inevitable.py
--- a/pypy/translator/stm/inevitable.py
+++ b/pypy/translator/stm/inevitable.py
@@ -15,6 +15,8 @@
     'jit_record_known_class',
     'gc_identityhash', 'gc_id',
     'gc_adr_of_root_stack_top',
+
+    'weakref_create', 'weakref_deref',
     ])
 ALWAYS_ALLOW_OPERATIONS |= set(lloperation.enum_tryfold_ops())
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to