[pypy-svn] r64622 - pypy/branch/pyjitpl5/pypy/jit/metainterp

benjamin at codespeak.net benjamin at codespeak.net
Fri Apr 24 02:57:26 CEST 2009


Author: benjamin
Date: Fri Apr 24 02:57:26 2009
New Revision: 64622

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/history.py
Log:
remove annotation hint for un-rpython method

Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/history.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/history.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/history.py	Fri Apr 24 02:57:26 2009
@@ -120,6 +120,7 @@
 class Const(AbstractValue):
     __slots__ = ()
 
+    @staticmethod
     def _new(x, cpu):
         "NOT_RPYTHON"
         T = lltype.typeOf(x)
@@ -143,8 +144,6 @@
             return ConstObj(obj)
         else:
             raise NotImplementedError(kind)
-    _new._annspecialcase_ = 'specialize:argtype(0)'
-    _new = staticmethod(_new)
 
     def constbox(self):
         return self



More information about the Pypy-commit mailing list