Reviewers: titzer,
Description:
Silence control reducer tracing a bit.
[email protected]
Please review this at https://codereview.chromium.org/687553002/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+5, -3 lines):
M src/compiler/control-reducer.cc
M src/flag-definitions.h
Index: src/compiler/control-reducer.cc
diff --git a/src/compiler/control-reducer.cc
b/src/compiler/control-reducer.cc
index
e1bd0c9afb80b67c2aaa7763acabe3ce09c03312..3b3dbfdaa775d41928588c2f6768b416198f69dd
100644
--- a/src/compiler/control-reducer.cc
+++ b/src/compiler/control-reducer.cc
@@ -18,7 +18,7 @@ enum VisitState { kUnvisited = 0, kOnStack = 1, kRevisit
= 2, kVisited = 3 };
enum Reachability { kFromStart = 8 };
#define TRACE(x) \
- if (FLAG_trace_turbo) PrintF x
+ if (FLAG_trace_turbo_control_reducer) PrintF x
class ControlReducerImpl {
public:
Index: src/flag-definitions.h
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index
6951d8c8b5dcc51201829d0f5a25a502e3a77c22..36a2f483a5df5397f599e14ff575504d053437ce
100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -353,8 +353,10 @@ DEFINE_STRING(turbo_filter, "~", "optimization filter
for TurboFan compiler")
DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR")
DEFINE_STRING(trace_turbo_cfg_file, NULL,
"trace turbo cfg graph (for C1 visualizer) to a given file
name")
-DEFINE_BOOL(trace_turbo_types, true, "trace generated TurboFan types")
-DEFINE_BOOL(trace_turbo_scheduler, false, "trace generated TurboFan
scheduler")
+DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types")
+DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler")
+DEFINE_BOOL(trace_turbo_control_reducer, false,
+ "trace TurboFan's control reduction")
DEFINE_BOOL(turbo_asm, false, "enable TurboFan for asm.js code")
DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase")
DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics")
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.