| Index: src/parsing/preparser.cc
|
| diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc
|
| index 0377a1b9d35e70ff9cb131ad061e01f7f257888f..02b0cddb9a47ec6c97e2a35b84972a69e3824d1a 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();
|
|
|