[pypy-commit] pypy stmgc-c4: remove duplicated logging
Raemi
noreply at buildbot.pypy.org
Thu Sep 5 12:46:38 CEST 2013
Author: Remi Meier <remi.meier at gmail.com>
Branch: stmgc-c4
Changeset: r66790:b7324b5903a6
Date: 2013-09-05 12:45 +0200
http://bitbucket.org/pypy/pypy/changeset/b7324b5903a6/
Log: remove duplicated logging
diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -586,8 +586,6 @@
operations = regalloc.prepare_loop(inputargs, operations, looptoken,
clt.allgcrefs)
- if logger:
- logger.log_loop(inputargs, operations, -3, "rewritten")
looppos = self.mc.get_relative_pos()
frame_depth_no_fixed_size = self._assemble(regalloc, inputargs,
operations)
@@ -651,8 +649,6 @@
operations,
self.current_clt.allgcrefs,
self.current_clt.frame_info)
- if logger:
- logger.log_bridge(inputargs, operations, "rewritten")
self._check_frame_depth(self.mc, regalloc.get_gcmap())
frame_depth_no_fixed_size = self._assemble(regalloc, inputargs, operations)
codeendpos = self.mc.get_relative_pos()
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
@@ -25,10 +25,6 @@
debug_start("jit-log-compiling-loop")
logops = self._log_operations(inputargs, operations, ops_offset)
debug_stop("jit-log-compiling-loop")
- elif number == -3:
- debug_start("jit-log-rewritten-loop")
- logops = self._log_operations(inputargs, operations, ops_offset)
- debug_stop("jit-log-rewritten-loop")
else:
debug_start("jit-log-opt-loop")
debug_print("# Loop", number, '(%s)' % name, ":", type,
@@ -43,10 +39,6 @@
debug_start("jit-log-noopt-bridge")
logops = self._log_operations(inputargs, operations, ops_offset)
debug_stop("jit-log-noopt-bridge")
- elif extra == "rewritten":
- debug_start("jit-log-rewritten-bridge")
- logops = self._log_operations(inputargs, operations, ops_offset)
- debug_stop("jit-log-rewritten-bridge")
elif extra == "compiling":
debug_start("jit-log-compiling-bridge")
logops = self._log_operations(inputargs, operations, ops_offset)
More information about the pypy-commit
mailing list