Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index db9071a98b97983b3650d69cd4a4571c39992ff5..f77ec393c902dd35b51009a767ba6d86142ebaa8 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -547,7 +547,7 @@ class ParserTraits { |
ZoneList<ObjectLiteral::Property*>* properties, |
int start_position, int end_position, |
AstNodeFactory<AstConstructionVisitor>* factory); |
- |
+ Expression* DefaultConstructor(bool call_super, Scope* scope); |
Literal* ExpressionFromLiteral( |
Token::Value token, int pos, Scanner* scanner, |
AstNodeFactory<AstConstructionVisitor>* factory); |
@@ -804,6 +804,8 @@ class Parser : public ParserBase<ParserTraits> { |
Scope* NewScope(Scope* parent, ScopeType type); |
+ FunctionLiteral* DefaultConstructor(bool call_super, Scope* scope); |
+ |
// 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, |