Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index e6c0e2645e4decdf522c9118af01ddf56b6d240c..159fee87d7c1c82eb782a7d24d26dd0f54f0d466 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -2796,9 +2796,7 @@ TryStatement* Parser::ParseTryStatement(bool* ok) { |
Expect(Token::RPAREN, CHECK_OK); |
Target target(&this->target_stack_, &catch_collector); |
- VariableMode mode = |
- allow_harmony_scoping() && strict_mode() == STRICT ? LET : VAR; |
- catch_variable = catch_scope->DeclareLocal(name, mode, kCreatedInitialized); |
+ catch_variable = catch_scope->DeclareLocal(name, VAR, kCreatedInitialized); |
BlockState block_state(&scope_, catch_scope); |
catch_block = ParseBlock(NULL, CHECK_OK); |