Index: src/pattern-rewriter.cc |
diff --git a/src/pattern-rewriter.cc b/src/pattern-rewriter.cc |
index 6969cf214ed70034fce8f58a737724ab4b600700..a487a10c3597fc51155827b2bacc2a37c050b4a7 100644 |
--- a/src/pattern-rewriter.cc |
+++ b/src/pattern-rewriter.cc |
@@ -53,8 +53,7 @@ |
Declaration* declaration = factory()->NewVariableDeclaration( |
proxy, descriptor_->mode, descriptor_->scope, |
descriptor_->declaration_pos); |
- Variable* var = parser->Declare(declaration, descriptor_->declaration_kind, |
- descriptor_->mode != VAR, ok_); |
+ Variable* var = parser->Declare(declaration, descriptor_->mode != VAR, ok_); |
if (!*ok_) return; |
DCHECK_NOT_NULL(var); |
DCHECK(!proxy->is_resolved() || proxy->var() == var); |