Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index 524b76652858d14f569ab8d06a29b9c0ffd3269f..cebd26675fe2f229aed807d3bd4e6ff34b8ca136 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -4041,6 +4041,12 @@ ParserBase<Impl>::ParseArrowFunctionLiteral( |
impl()->RewriteDestructuringAssignments(); |
} |
+ if (FLAG_trace_preparse) { |
+ Scope* scope = formal_parameters.scope; |
+ PrintF(" [%s]: %i-%i (arrow function)\n", |
+ is_lazy_top_level_function ? "Preparse no-resolution" : "Full parse", |
+ scope->start_position(), scope->end_position()); |
+ } |
FunctionLiteralT function_literal = factory()->NewFunctionLiteral( |
impl()->EmptyIdentifierString(), formal_parameters.scope, body, |
materialized_literal_count, expected_property_count, |