[pypy-svn] r22636 - pypy/dist/pypy/rpython/memory

mwh at codespeak.net mwh at codespeak.net
Wed Jan 25 11:45:52 CET 2006


Author: mwh
Date: Wed Jan 25 11:45:50 2006
New Revision: 22636

Modified:
   pypy/dist/pypy/rpython/memory/lltypelayout.py
Log:
(cfbolz, mwh)
adapt to changing times in llmemory.


Modified: pypy/dist/pypy/rpython/memory/lltypelayout.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/lltypelayout.py	(original)
+++ pypy/dist/pypy/rpython/memory/lltypelayout.py	Wed Jan 25 11:45:50 2006
@@ -131,7 +131,7 @@
 def varsize_offsets_to_gcpointers_in_var_part(TYPE):
     if isinstance(TYPE, lltype.Array):
         if isinstance(TYPE.OF, lltype.Ptr):
-            return [llmemory.OffsetOf(TYPE.OF)]
+            return [0]
         elif isinstance(TYPE.OF, lltype.Struct):
             return offsets_to_gc_pointers(TYPE.OF)
         return []



More information about the Pypy-commit mailing list