Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index 499760de147efc18fde6bff67458d3a9d8814f1f..3076ceea93dd42bbb5a7c9e18359b44eed12c711 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -694,7 +694,7 @@ bool AstNumberingVisitor::Renumber(FunctionLiteral* node) { |
node->set_dont_optimize_reason(dont_optimize_reason()); |
node->set_yield_count(yield_count_); |
- if (FLAG_trace_opt) { |
+ if (FLAG_trace_opt && !FLAG_turbo) { |
if (disable_crankshaft_reason_ != kNoReason) { |
// TODO(leszeks): This is a quick'n'dirty fix to allow the debug name of |
// the function to be accessed in the below print. This DCHECK will fail |