* [pph] Misc cleanups (3/3) (issue5274043)
@ 2011-10-14 13:31 Diego Novillo
0 siblings, 0 replies; only message in thread
From: Diego Novillo @ 2011-10-14 13:31 UTC (permalink / raw)
To: reply, crowl, gcc-patches
* pph-streamer-out.c (pph_out_tree_1): Do not call pph_trace_tree
unless flag_pph_tracer is set.
diff --git a/gcc/cp/pph-streamer-out.c b/gcc/cp/pph-streamer-out.c
index e337a31..d534b42 100644
--- a/gcc/cp/pph-streamer-out.c
+++ b/gcc/cp/pph-streamer-out.c
@@ -1916,7 +1916,8 @@ pph_out_tree_1 (pph_stream *stream, tree expr, bool mergeable)
}
else if (marker == PPH_RECORD_START || marker == PPH_RECORD_START_MUTATED)
{
- pph_trace_tree (expr, mergeable);
+ if (flag_pph_tracer)
+ pph_trace_tree (expr, mergeable);
/* This is the first time we see EXPR, write it out. */
if (marker == PPH_RECORD_START)
--
1.7.3.1
--
This patch is available for review at http://codereview.appspot.com/5274043
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-14 12:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-14 13:31 [pph] Misc cleanups (3/3) (issue5274043) Diego Novillo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).