| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 3b3144e0619f37e2d3d1e80703bcdbbcb46fd664..b4c628ebb297fa90d86594c2656423dada3dc298 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -773,8 +773,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,
|
| @@ -1025,8 +1024,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);
|
|
|
| @@ -1091,12 +1089,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);
|
| }
|
|
|
|
|
|
|