Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(622)

Issue 5274043: [pph] Misc cleanups (3/3) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by Diego Novillo
Modified:
12 years, 8 months ago
Reviewers:
CC:
Lawrence Crowl, gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M gcc/cp/ChangeLog.pph View 1 chunk +5 lines, -0 lines 0 comments Download
M gcc/cp/pph-streamer-out.c View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 1
Diego Novillo
12 years, 8 months ago (2011-10-14 12:10:19 UTC) #1
	* 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
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b