[pypy-svn] r52881 - pypy/branch/jit-hotpath/pypy/module/pypyjit
arigo at codespeak.net
arigo at codespeak.net
Sun Mar 23 21:23:07 CET 2008
Author: arigo
Date: Sun Mar 23 21:23:05 2008
New Revision: 52881
Modified:
pypy/branch/jit-hotpath/pypy/module/pypyjit/interp_jit.py
Log:
Fix (in the previous version we would end up with just "py.py"
in highleveljitinfo.sys_executable even in translated builds).
Modified: pypy/branch/jit-hotpath/pypy/module/pypyjit/interp_jit.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/module/pypyjit/interp_jit.py (original)
+++ pypy/branch/jit-hotpath/pypy/module/pypyjit/interp_jit.py Sun Mar 23 21:23:05 2008
@@ -147,9 +147,8 @@
# save the app-level sys.executable in JITInfo, where the machine
# code backend can fish for it. A bit hackish.
from pypy.jit.codegen.hlinfo import highleveljitinfo
- if highleveljitinfo.sys_executable is None:
- highleveljitinfo.sys_executable = space.str_w(
- space.sys.get('executable'))
+ highleveljitinfo.sys_executable = space.str_w(
+ space.sys.get('executable'))
# -- for now, we start disabled and you have to use pypyjit.enable()
#pypyjitconfig.enable()
More information about the Pypy-commit
mailing list