Index: src/compiler/ast-loop-assignment-analyzer.cc |
diff --git a/src/compiler/ast-loop-assignment-analyzer.cc b/src/compiler/ast-loop-assignment-analyzer.cc |
index 61ed4f27cbba8e7d7b9287108a87ab9e8f3435e2..e0a92a464c487e7e1b74b88321d28298c2502f33 100644 |
--- a/src/compiler/ast-loop-assignment-analyzer.cc |
+++ b/src/compiler/ast-loop-assignment-analyzer.cc |
@@ -161,6 +161,11 @@ void ALAA::VisitProperty(Property* e) { |
void ALAA::VisitCall(Call* e) { |
Visit(e->expression()); |
VisitExpressions(e->arguments()); |
+ // TODO(mstarzinger): It sure would be nice if this were desugared. |
+ if (e->GetCallType(isolate()) == Call::SUPER_CALL) { |
+ SuperCallReference* super = e->expression()->AsSuperCallReference(); |
+ AnalyzeAssignment(super->this_var()->var()); |
+ } |
} |