[pypy-svn] r64908 - pypy/branch/pyjitpl5/pypy/module/pypyjit

fijal at codespeak.net fijal at codespeak.net
Fri May 1 04:13:57 CEST 2009


Author: fijal
Date: Fri May  1 04:13:52 2009
New Revision: 64908

Modified:
   pypy/branch/pyjitpl5/pypy/module/pypyjit/interp_jit.py
Log:
kill code that is not called anywhere outdated and "a bit ad hoc"


Modified: pypy/branch/pyjitpl5/pypy/module/pypyjit/interp_jit.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/module/pypyjit/interp_jit.py	(original)
+++ pypy/branch/pyjitpl5/pypy/module/pypyjit/interp_jit.py	Fri May  1 04:13:52 2009
@@ -72,23 +72,6 @@
 #
 # Public interface
 
-def jit_startup(space, argv):
-    # save the app-level sys.executable in JITInfo, where the machine
-    # code backend can fish for it.  A bit hackish.
-    from pypy.jit.backend.hlinfo import highleveljitinfo
-    highleveljitinfo.sys_executable = argv[0]
-
-    # recognize the option  --jit PARAM=VALUE,PARAM=VALUE...
-    # if it is at the beginning.  A bit ad-hoc.
-    if len(argv) > 2 and argv[1] == '--jit':
-        argv.pop(1)
-        try:
-            pypyjitdriver.set_user_param(argv.pop(1))
-        except ValueError:
-            from pypy.rlib.debug import debug_print
-            debug_print("WARNING: invalid --jit parameters string")
-
-
 def set_param(space, args):
     '''Configure the tunable JIT parameters.
         * set_param(name=value, ...)            # as keyword arguments



More information about the Pypy-commit mailing list