[pypy-svn] r62517 - in pypy/branch/pyjitpl5/pypy: jit/tl module/pypyjit

fijal at codespeak.net fijal at codespeak.net
Wed Mar 4 12:09:56 CET 2009


Author: fijal
Date: Wed Mar  4 12:09:54 2009
New Revision: 62517

Modified:
   pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit.py
   pypy/branch/pyjitpl5/pypy/module/pypyjit/portal.py
Log:
check in (a bit broken) attempt to use binary shortcuts


Modified: pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit.py	Wed Mar  4 12:09:54 2009
@@ -18,6 +18,7 @@
 config.objspace.usemodules.pypyjit = True
 set_pypy_opt_level(config, level='0')
 config.objspace.std.multimethods = 'mrd'
+config.objspace.std.builtinshortcut = True
 multimethod.Installer = multimethod.InstallerVersion2
 print config
 

Modified: pypy/branch/pyjitpl5/pypy/module/pypyjit/portal.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/module/pypyjit/portal.py	(original)
+++ pypy/branch/pyjitpl5/pypy/module/pypyjit/portal.py	Wed Mar  4 12:09:54 2009
@@ -98,10 +98,10 @@
                      pypy.objspace.std.Space.is_w)
         self.seegraph(pypy.interpreter.pyframe.PyFrame.execute_frame, False)
         # --------------------
-        self.seepath(pypy.interpreter.pyframe.PyFrame.JUMP_IF_TRUE,
-                     pypy.objspace.std.Space.is_true)
-        self.seepath(pypy.interpreter.pyframe.PyFrame.JUMP_IF_FALSE,
-                     pypy.objspace.std.Space.is_true)
+        #self.seepath(pypy.interpreter.pyframe.PyFrame.JUMP_IF_TRUE,
+        #             pypy.objspace.std.Space.is_true)
+        #self.seepath(pypy.interpreter.pyframe.PyFrame.JUMP_IF_FALSE,
+        #             pypy.objspace.std.Space.is_true)
 
         #
         #self.seepath(pypy.interpreter.pyframe.PyFrame.CALL_FUNCTION,



More information about the Pypy-commit mailing list