Author: Remi Meier <[email protected]>
Branch: stmgc-c8
Changeset: r80949:f1555426bff5
Date: 2015-11-25 12:47 +0100
http://bitbucket.org/pypy/pypy/changeset/f1555426bff5/
Log: handle gc_writebarrier in readbarrier.py
diff --git a/rpython/translator/stm/readbarrier.py
b/rpython/translator/stm/readbarrier.py
--- a/rpython/translator/stm/readbarrier.py
+++ b/rpython/translator/stm/readbarrier.py
@@ -146,7 +146,7 @@
cat_map[op.result] = 'R'
#
if op.opname in ('setfield', 'setarrayitem', 'setinteriorfield',
- 'raw_store'):
+ 'raw_store', 'gc_writebarrier'):
# compare with logic in stmframework.py
# ops that need a write barrier also make the var 'R'
if (op.args[-1].concretetype is not lltype.Void
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit