[pypy-svn] r38057 - pypy/branch/jit-virtual-world/pypy/jit/goal

arigo at codespeak.net arigo at codespeak.net
Wed Feb 7 13:28:21 CET 2007


Author: arigo
Date: Wed Feb  7 13:28:13 2007
New Revision: 38057

Modified:
   pypy/branch/jit-virtual-world/pypy/jit/goal/jitstep.py
Log:
Forgot that CALL_FUNCTION is now defined in module/pypyjit...


Modified: pypy/branch/jit-virtual-world/pypy/jit/goal/jitstep.py
==============================================================================
--- pypy/branch/jit-virtual-world/pypy/jit/goal/jitstep.py	(original)
+++ pypy/branch/jit-virtual-world/pypy/jit/goal/jitstep.py	Wed Feb  7 13:28:13 2007
@@ -19,7 +19,8 @@
         if mod.startswith('pypy.objspace'):
             return False
         if mod.startswith('pypy.module.'):
-            return False
+            if not mod.startswith('pypy.module.pypyjit.'):
+                return False
         if mod in forbidden_modules:
             return False
         return True
@@ -49,6 +50,7 @@
     n = len(list(hannotator.translator.graphs[0].iterblocks()))
     drv.log.info("portal has %d blocks" % n)
     drv.hannotator = hannotator
+    #import pdb; pdb.set_trace()
 
 def timeshift(drv):
     from pypy.jit.timeshifter.hrtyper import HintRTyper



More information about the Pypy-commit mailing list