Author: Carl Friedrich Bolz <>
Changeset: r92091:eef485998ca1
Date: 2017-08-05 21:11 +0200

Log:    jit-log-noopt logging was broken by 2bf0191fb21d

        (the have_debug_prints needs to be *inside* the debug_start,
        otherwise stuff is never logged.)

diff --git a/rpython/jit/metainterp/ b/rpython/jit/metainterp/
--- a/rpython/jit/metainterp/
+++ b/rpython/jit/metainterp/
@@ -13,10 +13,11 @@
         self.guard_number = guard_number
     def log_loop_from_trace(self, trace, memo):
+        debug_start("jit-log-noopt")
         if not have_debug_prints():
+            debug_stop("jit-log-noopt")
         inputargs, ops = self._unpack_trace(trace)
-        debug_start("jit-log-noopt")
         debug_print("# Traced loop or bridge with", len(ops), "ops")
         logops = self._log_operations(inputargs, ops, None, memo)
pypy-commit mailing list

Reply via email to