[pypy-commit] pypy default: Fix jitviewer for simple targets which don't set sys_executable.

amauryfa noreply at buildbot.pypy.org
Thu Apr 26 23:07:56 CEST 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r54769:f6fbfecb93fd
Date: 2012-04-26 23:07 +0200
http://bitbucket.org/pypy/pypy/changeset/f6fbfecb93fd/

Log:	Fix jitviewer for simple targets which don't set sys_executable.

diff --git a/pypy/jit/backend/llsupport/asmmemmgr.py b/pypy/jit/backend/llsupport/asmmemmgr.py
--- a/pypy/jit/backend/llsupport/asmmemmgr.py
+++ b/pypy/jit/backend/llsupport/asmmemmgr.py
@@ -277,6 +277,8 @@
             from pypy.jit.backend.hlinfo import highleveljitinfo
             if highleveljitinfo.sys_executable:
                 debug_print('SYS_EXECUTABLE', highleveljitinfo.sys_executable)
+            else:
+                debug_print('SYS_EXECUTABLE', '??')
             #
             HEX = '0123456789ABCDEF'
             dump = []


More information about the pypy-commit mailing list