Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r69934:1b58f7c6b75c
Date: 2014-03-13 19:50 +0100
http://bitbucket.org/pypy/pypy/changeset/1b58f7c6b75c/

Log:    Fix

diff --git a/rpython/memory/gctransform/stmframework.py 
b/rpython/memory/gctransform/stmframework.py
--- a/rpython/memory/gctransform/stmframework.py
+++ b/rpython/memory/gctransform/stmframework.py
@@ -71,8 +71,7 @@
         v_struct = hop.spaceop.args[0]
         assert opname in ('setfield', 'setarrayitem', 'setinteriorfield',
                           'raw_store')
-        if (v_struct.concretetype.TO._gckind == "gc"
-                and hop.spaceop not in self.clean_sets):
+        if var_needsgc(v_struct) and hop.spaceop not in self.clean_sets:
             if self.in_stm_ignored:
                 # detect if we're inside a 'stm_ignored' block and in
                 # that case don't call stm_write().  This only works for
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to