[pypy-svn] r71297 - pypy/branch/string-promote/pypy/objspace/std

fijal at codespeak.net fijal at codespeak.net
Thu Feb 18 16:24:01 CET 2010


Author: fijal
Date: Thu Feb 18 16:23:59 2010
New Revision: 71297

Modified:
   pypy/branch/string-promote/pypy/objspace/std/typeobject.py
Log:
another place which I think makes sense


Modified: pypy/branch/string-promote/pypy/objspace/std/typeobject.py
==============================================================================
--- pypy/branch/string-promote/pypy/objspace/std/typeobject.py	(original)
+++ pypy/branch/string-promote/pypy/objspace/std/typeobject.py	Thu Feb 18 16:23:59 2010
@@ -9,7 +9,7 @@
 from pypy.rlib.objectmodel import we_are_translated
 from pypy.rlib.objectmodel import current_object_addr_as_int, compute_hash
 from pypy.rlib.jit import hint, purefunction_promote, we_are_jitted
-from pypy.rlib.jit import dont_look_inside
+from pypy.rlib.jit import dont_look_inside, purefunction
 from pypy.rlib.rarithmetic import intmask, r_uint
 
 from copy_reg import _HEAPTYPE
@@ -248,7 +248,7 @@
             return tup
         return w_self._pure_lookup_where_with_method_cache(name, version_tag)
 
-    @purefunction_promote
+    @purefunction
     def _pure_lookup_where_with_method_cache(w_self, name, version_tag):
         space = w_self.space
         SHIFT = r_uint.BITS - space.config.objspace.std.methodcachesizeexp



More information about the Pypy-commit mailing list