[pypy-svn] r61688 - pypy/trunk/pypy/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Tue Feb 10 14:03:57 CET 2009


Author: arigo
Date: Tue Feb 10 14:03:55 2009
New Revision: 61688

Modified:
   pypy/trunk/pypy/rpython/lltypesystem/rclass.py
Log:
(fijal, arigo)
Port a hint from oo-jit.


Modified: pypy/trunk/pypy/rpython/lltypesystem/rclass.py
==============================================================================
--- pypy/trunk/pypy/rpython/lltypesystem/rclass.py	(original)
+++ pypy/trunk/pypy/rpython/lltypesystem/rclass.py	Tue Feb 10 14:03:55 2009
@@ -58,7 +58,8 @@
 OBJECT_VTABLE = lltype.ForwardReference()
 CLASSTYPE = Ptr(OBJECT_VTABLE)
 OBJECT = GcStruct('object', ('typeptr', CLASSTYPE),
-                  hints = {'immutable': True, 'shouldntbenull': True})
+                  hints = {'immutable': True, 'shouldntbenull': True,
+                           'typeptr': True})
 OBJECTPTR = Ptr(OBJECT)
 OBJECT_VTABLE.become(Struct('object_vtable',
                             #('parenttypeptr', CLASSTYPE),



More information about the Pypy-commit mailing list