Author: Benjamin Peterson <benja...@python.org> Branch: Changeset: r44945:366c5f73be87 Date: 2011-06-14 09:44 -0500 http://bitbucket.org/pypy/pypy/changeset/366c5f73be87/
Log: merge heads diff --git a/pypy/jit/metainterp/test/test_compile.py b/pypy/jit/metainterp/test/test_compile.py --- a/pypy/jit/metainterp/test/test_compile.py +++ b/pypy/jit/metainterp/test/test_compile.py @@ -1,3 +1,4 @@ +from pypy.config.pypyoption import get_pypy_config from pypy.jit.metainterp.history import LoopToken, ConstInt, History, Stats from pypy.jit.metainterp.history import BoxInt, INT from pypy.jit.metainterp.compile import insert_loop_token, compile_new_loop @@ -57,6 +58,7 @@ logger_noopt = FakeLogger() logger_ops = FakeLogger() + config = get_pypy_config(translating=True) stats = Stats() profiler = jitprof.EmptyProfiler() 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 @@ -77,6 +77,10 @@ translator.config.translation.list_comprehension_operations = True except ConfigError: pass + try: + translator.config.translation.jit_ffi = True + except ConfigError: + pass warmrunnerdesc = WarmRunnerDesc(translator, backendopt=backendopt, **kwds) for jd in warmrunnerdesc.jitdrivers_sd: jd.warmstate.set_param_threshold(3) # for tests _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit