| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index e085b26f86c054f81aec593954191d4ba8abc473..d128c4f3ca3d786c0e156259b9118d807d3896e8 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -756,8 +756,7 @@ class ParserTraits {
|
| bool name_is_strict_reserved, FunctionKind kind,
|
| int function_token_position, FunctionLiteral::FunctionType type,
|
| FunctionLiteral::ArityRestriction arity_restriction, bool* ok);
|
| - V8_INLINE void SkipLazyFunctionBody(const AstRawString* name,
|
| - int* materialized_literal_count,
|
| + V8_INLINE void SkipLazyFunctionBody(int* materialized_literal_count,
|
| int* expected_property_count, bool* ok);
|
| V8_INLINE ZoneList<Statement*>* ParseEagerFunctionBody(
|
| const AstRawString* name, int pos, Variable* fvar,
|
| @@ -996,8 +995,7 @@ class Parser : public ParserBase<ParserTraits> {
|
|
|
| // Skip over a lazy function, either using cached data if we have it, or
|
| // by parsing the function with PreParser. Consumes the ending }.
|
| - void SkipLazyFunctionBody(const AstRawString* function_name,
|
| - int* materialized_literal_count,
|
| + void SkipLazyFunctionBody(int* materialized_literal_count,
|
| int* expected_property_count,
|
| bool* ok);
|
|
|
| @@ -1057,12 +1055,11 @@ const AstRawString* ParserTraits::EmptyIdentifierString() {
|
| }
|
|
|
|
|
| -void ParserTraits::SkipLazyFunctionBody(const AstRawString* function_name,
|
| - int* materialized_literal_count,
|
| +void ParserTraits::SkipLazyFunctionBody(int* materialized_literal_count,
|
| int* expected_property_count,
|
| bool* ok) {
|
| return parser_->SkipLazyFunctionBody(
|
| - function_name, materialized_literal_count, expected_property_count, ok);
|
| + materialized_literal_count, expected_property_count, ok);
|
| }
|
|
|
|
|
|
|