| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 2fef73d06012238ceed8e71c524388de25d49890..9f1f8d7d323ae633a9cbab083caa915e1a98f17c 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -116,6 +116,11 @@ class ParseInfo {
|
| ast_value_factory_ = ast_value_factory;
|
| }
|
|
|
| + const AstRawString* function_name() const { return function_name_; }
|
| + void set_function_name(const AstRawString* function_name) {
|
| + function_name_ = function_name;
|
| + }
|
| +
|
| FunctionLiteral* literal() const { return literal_; }
|
| void set_literal(FunctionLiteral* literal) { literal_ = literal; }
|
|
|
| @@ -230,6 +235,7 @@ class ParseInfo {
|
| //----------- Inputs+Outputs of parsing and scope analysis -----------------
|
| ScriptData** cached_data_; // used if available, populated if requested.
|
| AstValueFactory* ast_value_factory_; // used if available, otherwise new.
|
| + const AstRawString* function_name_;
|
|
|
| //----------- Output of parsing and scope analysis ------------------------
|
| FunctionLiteral* literal_;
|
| @@ -781,8 +787,7 @@ class Parser : public ParserBase<ParserTraits> {
|
| FunctionLiteral* ParseProgram(Isolate* isolate, ParseInfo* info);
|
|
|
| FunctionLiteral* ParseLazy(Isolate* isolate, ParseInfo* info);
|
| - FunctionLiteral* DoParseLazy(Isolate* isolate, ParseInfo* info,
|
| - const AstRawString* raw_name,
|
| + FunctionLiteral* DoParseLazy(ParseInfo* info, const AstRawString* raw_name,
|
| Utf16CharacterStream* source);
|
|
|
| // Called by ParseProgram after setting up the scanner.
|
|
|