Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 9f1f8d7d323ae633a9cbab083caa915e1a98f17c..2fef73d06012238ceed8e71c524388de25d49890 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -114,11 +114,6 @@ |
AstValueFactory* ast_value_factory() const { return ast_value_factory_; } |
void set_ast_value_factory(AstValueFactory* ast_value_factory) { |
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_; } |
@@ -235,7 +230,6 @@ |
//----------- 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_; |
@@ -787,7 +781,8 @@ |
FunctionLiteral* ParseProgram(Isolate* isolate, ParseInfo* info); |
FunctionLiteral* ParseLazy(Isolate* isolate, ParseInfo* info); |
- FunctionLiteral* DoParseLazy(ParseInfo* info, const AstRawString* raw_name, |
+ FunctionLiteral* DoParseLazy(Isolate* isolate, ParseInfo* info, |
+ const AstRawString* raw_name, |
Utf16CharacterStream* source); |
// Called by ParseProgram after setting up the scanner. |