Index: src/parsing/pattern-rewriter.cc |
diff --git a/src/parsing/pattern-rewriter.cc b/src/parsing/pattern-rewriter.cc |
index 30d521dfa76c47616cbdaf9ecf89399881263795..e00403135a18dc4d0309a00589fb8b8001150c4e 100644 |
--- a/src/parsing/pattern-rewriter.cc |
+++ b/src/parsing/pattern-rewriter.cc |
@@ -163,7 +163,7 @@ |
Scope* declaration_scope = IsLexicalVariableMode(descriptor_->mode) |
? descriptor_->scope |
- : descriptor_->scope->GetDeclarationScope(); |
+ : descriptor_->scope->DeclarationScope(); |
if (declaration_scope->num_var() > kMaxNumFunctionLocals) { |
parser_->ReportMessage(MessageTemplate::kTooManyVariables); |
*ok_ = false; |