[pypy-svn] r70932 - pypy/branch/gc-huge-list/pypy/rpython/memory

arigo at codespeak.net arigo at codespeak.net
Wed Jan 27 20:37:15 CET 2010


Author: arigo
Date: Wed Jan 27 20:37:15 2010
New Revision: 70932

Modified:
   pypy/branch/gc-huge-list/pypy/rpython/memory/gcwrapper.py
Log:
Fix.


Modified: pypy/branch/gc-huge-list/pypy/rpython/memory/gcwrapper.py
==============================================================================
--- pypy/branch/gc-huge-list/pypy/rpython/memory/gcwrapper.py	(original)
+++ pypy/branch/gc-huge-list/pypy/rpython/memory/gcwrapper.py	Wed Jan 27 20:37:15 2010
@@ -84,7 +84,8 @@
         if (lltype.typeOf(toplevelcontainer).TO._gckind == 'gc' and
             isinstance(INNERTYPE, lltype.Ptr) and INNERTYPE.TO._gckind == 'gc'):
             self.gc.write_barrier(llmemory.cast_ptr_to_adr(newvalue),
-                                  llmemory.cast_ptr_to_adr(toplevelcontainer))
+                                  llmemory.cast_ptr_to_adr(toplevelcontainer),
+                                  inneraddr)
         llheap.setinterior(toplevelcontainer, inneraddr, INNERTYPE, newvalue)
 
     def collect(self, *gen):



More information about the Pypy-commit mailing list