Index: src/ast/scopes.cc |
diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc |
index eb92cefb98f055f12081c00611624944e361c26a..d5b584baf5fff15050f31dfd726ac5e26f9dc8b2 100644 |
--- a/src/ast/scopes.cc |
+++ b/src/ast/scopes.cc |
@@ -183,9 +183,8 @@ Scope::Scope(Zone* zone, const AstRawString* catch_variable_name) |
#ifdef DEBUG |
already_resolved_ = true; |
#endif |
- Variable* variable = |
- variables_.Declare(zone, this, catch_variable_name, VAR, Variable::NORMAL, |
- kCreatedInitialized); |
+ Variable* variable = Declare(zone, this, catch_variable_name, VAR, |
+ Variable::NORMAL, kCreatedInitialized); |
AllocateHeapSlot(variable); |
} |