Author: Carl Friedrich Bolz <cfb...@gmx.de> Branch: Changeset: r86201:6a6545b4a915 Date: 2016-08-15 18:30 +0200 http://bitbucket.org/pypy/pypy/changeset/6a6545b4a915/
Log: properly close category even if we don't have debug_prints enabled, to support running with PYPYLOG=- diff --git a/rpython/jit/metainterp/logger.py b/rpython/jit/metainterp/logger.py --- a/rpython/jit/metainterp/logger.py +++ b/rpython/jit/metainterp/logger.py @@ -98,6 +98,7 @@ def log_abort_loop(self, trace, memo=None): debug_start("jit-abort-log") if not have_debug_prints(): + debug_stop("jit-abort-log") return inputargs, operations = self._unpack_trace(trace) logops = self._log_operations(inputargs, operations, ops_offset=None, _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit