Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r74518:4491d856926c
Date: 2014-11-14 11:46 +0100
http://bitbucket.org/pypy/pypy/changeset/4491d856926c/

Log:    update from the changes done in the list of operations

diff --git a/rpython/translator/stm/inevitable.py 
b/rpython/translator/stm/inevitable.py
--- a/rpython/translator/stm/inevitable.py
+++ b/rpython/translator/stm/inevitable.py
@@ -31,11 +31,14 @@
 GETTERS = set(['getfield', 'getarrayitem', 'getinteriorfield', 'raw_load'])
 SETTERS = set(['setfield', 'setarrayitem', 'setinteriorfield', 'raw_store'])
 MALLOCS = set(['malloc', 'malloc_varsize',
-               'malloc_nonmovable', 'malloc_nonmovable_varsize',
                'raw_malloc',
+               'do_malloc_fixedsize', 'do_malloc_varsize',
                'do_malloc_fixedsize_clear', 'do_malloc_varsize_clear'])
 FREES   = set(['free', 'raw_free'])
 
+for opname in ALWAYS_ALLOW_OPERATIONS | GETTERS | SETTERS | MALLOCS | FREES:
+    getattr(lloperation.llop, opname)   # the opname must exist!
+
 # ____________________________________________________________
 
 def should_turn_inevitable_getter_setter(op):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to