[pypy-commit] pypy stmgc-c8: handle gc_writebarrier in readbarrier.py
Raemi
noreply at buildbot.pypy.org
Wed Nov 25 10:58:36 EST 2015
Author: Remi Meier <remi.meier at gmail.com>
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
More information about the pypy-commit
mailing list