Index: src/parsing/preparser.cc |
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc |
index 95c12c698545c70e7a763d42c16a238f3d33106c..1da632f0d00a63c7313b430d5c1178033da13904 100644 |
--- a/src/parsing/preparser.cc |
+++ b/src/parsing/preparser.cc |
@@ -231,10 +231,11 @@ PreParser::Expression PreParser::ParseFunctionLiteral( |
// Parse function body. |
PreParserStatementList body; |
+ BlockT parameter_init_block = NullBlock(); |
int pos = function_token_pos == kNoSourcePosition ? peek_position() |
: function_token_pos; |
- ParseFunctionBody(body, function_name, pos, formals, kind, function_type, |
- CHECK_OK); |
+ ParseFunctionBody(body, ¶meter_init_block, function_name, pos, formals, |
+ kind, function_type, CHECK_OK); |
// Parsing the body may change the language mode in our scope. |
language_mode = function_scope->language_mode(); |