[pypy-svn] r77210 - pypy/branch/smaller-writebarrier/pypy/rpython/memory
arigo at codespeak.net
arigo at codespeak.net
Mon Sep 20 17:40:46 CEST 2010
Author: arigo
Date: Mon Sep 20 17:40:45 2010
New Revision: 77210
Modified:
pypy/branch/smaller-writebarrier/pypy/rpython/memory/gcwrapper.py
Log:
Fix for test_gc.
Modified: pypy/branch/smaller-writebarrier/pypy/rpython/memory/gcwrapper.py
==============================================================================
--- pypy/branch/smaller-writebarrier/pypy/rpython/memory/gcwrapper.py (original)
+++ pypy/branch/smaller-writebarrier/pypy/rpython/memory/gcwrapper.py Mon Sep 20 17:40:45 2010
@@ -94,7 +94,6 @@
assert (type(index) is int # <- fast path
or lltype.typeOf(index) == lltype.Signed)
self.gc.write_barrier_from_array(
- llmemory.cast_ptr_to_adr(newvalue),
llmemory.cast_ptr_to_adr(toplevelcontainer),
index)
wb = False
@@ -102,7 +101,6 @@
#
if wb:
self.gc.write_barrier(
- llmemory.cast_ptr_to_adr(newvalue),
llmemory.cast_ptr_to_adr(toplevelcontainer))
llheap.setinterior(toplevelcontainer, inneraddr, INNERTYPE, newvalue)
More information about the Pypy-commit
mailing list