| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 4d4dd222c529d704f8284613c8f6b0ec17269656..1b145106c9b75ce1f0ea5dc09c21423ec0a86668 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -1010,6 +1010,9 @@ class Parser : public ParserBase<ParserTraits> {
|
| }
|
| bool inside_with() const { return descriptor_->parser->inside_with(); }
|
| Zone* zone() const { return descriptor_->parser->zone(); }
|
| + Scope* TemporaryDeclarationScope() const {
|
| + return descriptor_->parser->scope_->DeclarationScope();
|
| + }
|
|
|
| Expression* pattern_;
|
| int initializer_position_;
|
| @@ -1098,6 +1101,7 @@ class Parser : public ParserBase<ParserTraits> {
|
| IterationStatement* LookupContinueTarget(const AstRawString* label, bool* ok);
|
|
|
| void AddAssertIsConstruct(ZoneList<Statement*>* body, int pos);
|
| + Statement* BuildAssertIsCoercible(Variable* var);
|
|
|
| // Factory methods.
|
| FunctionLiteral* DefaultConstructor(bool call_super, Scope* scope, int pos,
|
|
|