Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: 
Changeset: r79661:c8e39fddd4a1
Date: 2015-09-17 11:27 +0200
http://bitbucket.org/pypy/pypy/changeset/c8e39fddd4a1/

Log:    uh, how the hell did it compile at all kind of commit

diff --git a/rpython/jit/metainterp/compile.py 
b/rpython/jit/metainterp/compile.py
--- a/rpython/jit/metainterp/compile.py
+++ b/rpython/jit/metainterp/compile.py
@@ -2,7 +2,7 @@
 from rpython.rtyper.lltypesystem import lltype, llmemory
 from rpython.rtyper.annlowlevel import cast_instance_to_gcref
 from rpython.rlib.objectmodel import we_are_translated
-from rpython.rlib.debug import debug_start, debug_stop, debug_print
+from rpython.rlib.debug import debug_start, debug_stop, debug_print, 
have_debug_prints
 from rpython.rlib.rarithmetic import r_uint, intmask
 from rpython.rlib import rstack
 from rpython.rlib.jit import JitDebugInfo, Counters, dont_look_inside
@@ -531,6 +531,7 @@
                                   loop.inputargs,
                                   operations, original_jitcell_token,
                                   name=loopname,
+                                  log=have_debug_prints(),
                                   memo=memo)
     finally:
         debug_stop("jit-backend")
@@ -577,7 +578,8 @@
     try:
         asminfo = do_compile_bridge(metainterp_sd, faildescr, inputargs,
                                     operations,
-                                    original_loop_token, memo)
+                                    original_loop_token, have_debug_prints(),
+                                    memo)
     finally:
         debug_stop("jit-backend")
     metainterp_sd.profiler.end_backend()
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to