| Index: src/scopes.cc
|
| diff --git a/src/scopes.cc b/src/scopes.cc
|
| index b32c9a30666a722ede924057c01e7bf7fc789b34..05cd2e7c16ef50b2a0375f1db55c32a2c82e93b5 100644
|
| --- a/src/scopes.cc
|
| +++ b/src/scopes.cc
|
| @@ -157,7 +157,6 @@ void Scope::SetDefaults(ScopeType scope_type,
|
| scope_calls_eval_ = false;
|
| scope_uses_arguments_ = false;
|
| scope_uses_super_property_ = false;
|
| - scope_uses_super_constructor_call_ = false;
|
| scope_uses_this_ = false;
|
| asm_module_ = false;
|
| asm_function_ = outer_scope != NULL && outer_scope->asm_module_;
|
| @@ -168,7 +167,6 @@ void Scope::SetDefaults(ScopeType scope_type,
|
| inner_scope_uses_arguments_ = false;
|
| inner_scope_uses_this_ = false;
|
| inner_scope_uses_super_property_ = false;
|
| - inner_scope_uses_super_constructor_call_ = false;
|
| force_eager_compilation_ = false;
|
| force_context_allocation_ = (outer_scope != NULL && !is_function_scope())
|
| ? outer_scope->has_forced_context_allocation() : false;
|
| @@ -371,9 +369,6 @@ Scope* Scope::FinalizeBlockScope() {
|
| // Propagate usage flags to outer scope.
|
| if (uses_arguments()) outer_scope_->RecordArgumentsUsage();
|
| if (uses_super_property()) outer_scope_->RecordSuperPropertyUsage();
|
| - if (uses_super_constructor_call()) {
|
| - outer_scope_->RecordSuperConstructorCallUsage();
|
| - }
|
| if (uses_this()) outer_scope_->RecordThisUsage();
|
|
|
| return NULL;
|
| @@ -903,17 +898,12 @@ void Scope::Print(int n) {
|
| if (scope_uses_arguments_) Indent(n1, "// scope uses 'arguments'\n");
|
| if (scope_uses_super_property_)
|
| Indent(n1, "// scope uses 'super' property\n");
|
| - if (scope_uses_super_constructor_call_)
|
| - Indent(n1, "// scope uses 'super' constructor\n");
|
| if (scope_uses_this_) Indent(n1, "// scope uses 'this'\n");
|
| if (inner_scope_uses_arguments_) {
|
| Indent(n1, "// inner scope uses 'arguments'\n");
|
| }
|
| if (inner_scope_uses_super_property_)
|
| Indent(n1, "// inner scope uses 'super' property\n");
|
| - if (inner_scope_uses_super_constructor_call_) {
|
| - Indent(n1, "// inner scope uses 'super' constructor\n");
|
| - }
|
| if (inner_scope_uses_this_) Indent(n1, "// inner scope uses 'this'\n");
|
| if (outer_scope_calls_sloppy_eval_) {
|
| Indent(n1, "// outer scope calls 'eval' in sloppy context\n");
|
| @@ -1190,10 +1180,6 @@ void Scope::PropagateScopeInfo(bool outer_scope_calls_sloppy_eval ) {
|
| inner->inner_scope_uses_super_property_) {
|
| inner_scope_uses_super_property_ = true;
|
| }
|
| - if (inner->uses_super_constructor_call() ||
|
| - inner->inner_scope_uses_super_constructor_call_) {
|
| - inner_scope_uses_super_constructor_call_ = true;
|
| - }
|
| if (inner->scope_uses_this_ || inner->inner_scope_uses_this_) {
|
| inner_scope_uses_this_ = true;
|
| }
|
|
|