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

mwh at codespeak.net mwh at codespeak.net
Wed Jul 19 16:45:08 CEST 2006


Author: mwh
Date: Wed Jul 19 16:45:06 2006
New Revision: 30232

Modified:
   pypy/dist/pypy/rpython/memory/gctransform.py
Log:
don't store naked ints in the type info tables, always some kind
of llmemory.AddressOffset.  fixes tests in
pypy/module/_stackless/test/test_interp_clonable.


Modified: pypy/dist/pypy/rpython/memory/gctransform.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gctransform.py	(original)
+++ pypy/dist/pypy/rpython/memory/gctransform.py	Wed Jul 19 16:45:06 2006
@@ -1053,7 +1053,7 @@
                     info["varitemsize"] = llmemory.sizeof(ARRAY.OF)
                 else:
                     info["varofstoptrs"] = self.offsets2table((), lltype.Void)
-                    info["varitemsize"] = 0
+                    info["varitemsize"] = llmemory.sizeof(ARRAY.OF)
             return type_id
 
     def finalizer_funcptr_for_type(self, TYPE):



More information about the Pypy-commit mailing list