Index: src/ast/ast-expression-rewriter.cc |
diff --git a/src/ast/ast-expression-rewriter.cc b/src/ast/ast-expression-rewriter.cc |
index f46e21b410ad779a52a75f28e298f08f18d05231..2e25cd102b20e29ccbd9e612ef239050725e25f1 100644 |
--- a/src/ast/ast-expression-rewriter.cc |
+++ b/src/ast/ast-expression-rewriter.cc |
@@ -187,6 +187,8 @@ void AstExpressionRewriter::VisitDebuggerStatement(DebuggerStatement* node) { |
void AstExpressionRewriter::VisitFunctionLiteral(FunctionLiteral* node) { |
REWRITE_THIS(node); |
VisitDeclarations(node->scope()->declarations()); |
+ Block* init_block = node->parameter_init_block(); |
+ if (init_block != nullptr) VisitBlock(init_block); |
ZoneList<Statement*>* body = node->body(); |
if (body != nullptr) VisitStatements(body); |
} |