[pypy-svn] r14170 - pypy/dist/pypy/interpreter

arigo at codespeak.net arigo at codespeak.net
Sun Jul 3 19:06:19 CEST 2005


Author: arigo
Date: Sun Jul  3 19:06:17 2005
New Revision: 14170

Modified:
   pypy/dist/pypy/interpreter/typedef.py
Log:
Annotation fine-tuning: get_unique_interplevel_subclass() is called from
allocate_instance() in objspace/std, which is specialized on the 'cls'.  So
the same specialization is needed for get_unique_interplevel_subclass().


Modified: pypy/dist/pypy/interpreter/typedef.py
==============================================================================
--- pypy/dist/pypy/interpreter/typedef.py	(original)
+++ pypy/dist/pypy/interpreter/typedef.py	Sun Jul  3 19:06:17 2005
@@ -39,6 +39,7 @@
             return get_unique_interplevel_NoDictWithSlots(cls)
         else: 
             return get_unique_interplevel_NoDictNoSlots(cls)
+get_unique_interplevel_subclass._annspecialcase_ = "specialize:arg0"
 
 for hasdict in False, True: 
     for wants_slots in False, True: 



More information about the Pypy-commit mailing list