Index: src/parsing/pattern-rewriter.cc |
diff --git a/src/parsing/pattern-rewriter.cc b/src/parsing/pattern-rewriter.cc |
index e5211b41947156c64bf9477ec83015a69ec059ad..2e4057bd3d548b399096957a0c1e04492af52ae6 100644 |
--- a/src/parsing/pattern-rewriter.cc |
+++ b/src/parsing/pattern-rewriter.cc |
@@ -146,10 +146,10 @@ void Parser::PatternRewriter::VisitVariableProxy(VariableProxy* pattern) { |
parser_->scanner()->location().end_pos); |
Declaration* declaration = factory()->NewVariableDeclaration( |
proxy, descriptor_->scope, descriptor_->declaration_pos); |
- Variable* var = parser_->Declare(declaration, descriptor_->declaration_kind, |
- descriptor_->mode, |
- DefaultInitializationFlag(descriptor_->mode), |
- ok_, descriptor_->hoist_scope); |
+ Variable* var = parser_->Declare( |
+ declaration, descriptor_->declaration_kind, descriptor_->mode, |
+ Variable::DefaultInitializationFlag(descriptor_->mode), ok_, |
+ descriptor_->hoist_scope); |
if (!*ok_) return; |
DCHECK_NOT_NULL(var); |
DCHECK(proxy->is_resolved()); |