[pypy-svn] r64562 - pypy/branch/pyjitpl5-simplify/pypy/module/pypyjit

fijal at codespeak.net fijal at codespeak.net
Wed Apr 22 01:02:20 CEST 2009


Author: fijal
Date: Wed Apr 22 01:02:19 2009
New Revision: 64562

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/module/pypyjit/policy.py
Log:
fish in svn history how to deal with recursive portals


Modified: pypy/branch/pyjitpl5-simplify/pypy/module/pypyjit/policy.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/module/pypyjit/policy.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/module/pypyjit/policy.py	Wed Apr 22 01:02:19 2009
@@ -47,8 +47,14 @@
         # string builder interface
         if mod == 'pypy.rpython.lltypesystem.rbuilder':
             return False
-        if mod == 'pypy.interpreter.pyframe' and func.__name__ == 'dispatch':
-            return False # no recursive portals for now
+        if mod.startswith('pypy.interpreter.function'):
+            if func.__name__.startswith('funccall'):
+                return False
+            if func.__name__ == 'call_args' or func.__name__ == 'call_obj_args':
+                return False
+        if mod == 'pypy.interpreter.eval':
+            if func.__name__ == 'exec_code':
+                return False
         #if (mod == 'pypy.rpython.rlist' or
         #    mod == 'pypy.rpython.lltypesystem.rdict' or
         #    mod == 'pypy.rpython.lltypesystem.rlist'):



More information about the Pypy-commit mailing list