[pypy-svn] r62296 - pypy/branch/pyjitpl5/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Sun Mar 1 15:22:14 CET 2009


Author: fijal
Date: Sun Mar  1 15:22:13 2009
New Revision: 62296

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py
Log:
fix translation


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py	Sun Mar  1 15:22:13 2009
@@ -131,9 +131,11 @@
 
         def crash_in_jit(e):
             print "Crash in JIT!"
-            print '%s: %s' % (e.__class__, e)
             if not we_are_translated():
+                print '%s: %s' % (e.__class__, e)
                 import sys, pdb; pdb.post_mortem(sys.exc_info()[2])
+            else:
+                print e
             raise AssertionError("crash in JIT")
         crash_in_jit._dont_inline_ = True
 



More information about the Pypy-commit mailing list