[pypy-commit] pypy stmgc-c4: Fix
arigo
noreply at buildbot.pypy.org
Mon Sep 9 16:43:05 CEST 2013
Author: Armin Rigo <arigo at 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
More information about the pypy-commit
mailing list