[pypy-svn] r67806 - pypy/trunk/pypy/jit/metainterp

antocuni at codespeak.net antocuni at codespeak.net
Sat Sep 19 21:01:15 CEST 2009


Author: antocuni
Date: Sat Sep 19 21:01:15 2009
New Revision: 67806

Modified:
   pypy/trunk/pypy/jit/metainterp/policy.py
Log:
(antocuni, arigo) this TODO is nonsense: the portal can be called only
through a rop.CALL, there is no way to do it via an OOSEND



Modified: pypy/trunk/pypy/jit/metainterp/policy.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/policy.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/policy.py	Sat Sep 19 21:01:15 2009
@@ -69,8 +69,6 @@
             SELFTYPE, methname, opargs = support.decompose_oosend(op)
             if SELFTYPE.oopspec_name is not None:
                 return 'builtin'
-            # TODO: return 'recursive' if the oosend ends with calling the
-            # portal
         if self.graphs_from(op, supports_floats) is None:
             return 'residual'
         return 'regular'



More information about the Pypy-commit mailing list