Author: Antonio Cuni <anto.c...@gmail.com> Branch: Changeset: r45184:0ce7a1037276 Date: 2011-06-29 18:18 +0200 http://bitbucket.org/pypy/pypy/changeset/0ce7a1037276/
Log: (arigo, antocuni, rguillbert): add some debug info diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py --- a/pypy/jit/metainterp/compile.py +++ b/pypy/jit/metainterp/compile.py @@ -119,6 +119,7 @@ old_loop_token = optimize_loop(metainterp_sd, old_loop_tokens, loop, jitdriver_sd.warmstate.enable_opts) except InvalidLoop: + debug_print("compile_new_loop: got an InvalidLoop") return None if old_loop_token is not None: metainterp.staticdata.log("reusing old loop") @@ -633,6 +634,7 @@ new_loop, state.enable_opts, inline_short_preamble, retraced) except InvalidLoop: + debug_print("compile_new_bridge: got an InvalidLoop") # XXX I am fairly convinced that optimize_bridge cannot actually raise # InvalidLoop return None _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit