Author: Maciej Fijalkowski <fij...@gmail.com> Branch: jitcounter-on-function Changeset: r44962:25a019b8cd68 Date: 2011-06-16 09:55 +0200 http://bitbucket.org/pypy/pypy/changeset/25a019b8cd68/
Log: the-other-way-around. Fixes test_ajit diff --git a/pypy/jit/metainterp/warmspot.py b/pypy/jit/metainterp/warmspot.py --- a/pypy/jit/metainterp/warmspot.py +++ b/pypy/jit/metainterp/warmspot.py @@ -439,7 +439,7 @@ can_inline = state.can_inline_greenargs num_green_args = jd.num_green_args def maybe_enter_from_start(*args): - maybe_compile_and_run(can_inline(*args[:num_green_args]), *args) + maybe_compile_and_run(not can_inline(*args[:num_green_args]), *args) maybe_enter_from_start._always_inline_ = True jd._maybe_enter_from_start_fn = maybe_enter_from_start _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit