[pypy-svn] r73211 - pypy/branch/cpython-extension/pypy/rpython/lltypesystem

xoraxax at codespeak.net xoraxax at codespeak.net
Wed Mar 31 15:05:45 CEST 2010


Author: xoraxax
Date: Wed Mar 31 15:05:43 2010
New Revision: 73211

Modified:
   pypy/branch/cpython-extension/pypy/rpython/lltypesystem/lltype.py
Log:
Allow for _compilation_info fields on _structs.

Modified: pypy/branch/cpython-extension/pypy/rpython/lltypesystem/lltype.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/rpython/lltypesystem/lltype.py	(original)
+++ pypy/branch/cpython-extension/pypy/rpython/lltypesystem/lltype.py	Wed Mar 31 15:05:43 2010
@@ -1412,7 +1412,7 @@
 class _struct(_parentable):
     _kind = "structure"
 
-    __slots__ = ('_hash_cache_',)
+    __slots__ = ('_hash_cache_', '_compilation_info')
 
     def __new__(self, TYPE, n=None, initialization=None, parent=None, parentindex=None):
         my_variety = _struct_variety(TYPE._names)



More information about the Pypy-commit mailing list