Author: Armin Rigo <ar...@tunes.org> Branch: stmgc-c4 Changeset: r66863:4a08783e2fa4 Date: 2013-09-09 16:38 +0200 http://bitbucket.org/pypy/pypy/changeset/4a08783e2fa4/
Log: Fix diff --git a/rpython/memory/gctransform/framework.py b/rpython/memory/gctransform/framework.py --- a/rpython/memory/gctransform/framework.py +++ b/rpython/memory/gctransform/framework.py @@ -745,7 +745,8 @@ resultvar=op.result) def gct_gc_writebarrier(self, hop): - assert not self.translator.config.stm # removed by stm/writebarrier.py + # this operation is removed by stm/writebarrier.py + assert not self.translator.config.translation.stm if self.write_barrier_ptr is None: return op = hop.spaceop @@ -898,7 +899,8 @@ gen_zero_gc_pointers(TYPE, v_ob, hop.llops) def gct_gc_writebarrier_before_copy(self, hop): - assert not self.translator.config.stm # should not be produced if stm + # this operation should not be produced if stm + assert not self.translator.config.translation.stm op = hop.spaceop if not hasattr(self, 'wb_before_copy_ptr'): # no write barrier needed in that case _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit