Index: src/ast-expression-visitor.cc |
diff --git a/src/ast-expression-visitor.cc b/src/ast-expression-visitor.cc |
index 7656420614826359fe0722dd959f073348e62ef7..e38b444699bb01af8a9079a60767f40f8efe604d 100644 |
--- a/src/ast-expression-visitor.cc |
+++ b/src/ast-expression-visitor.cc |
@@ -378,10 +378,19 @@ void AstExpressionVisitor::VisitEmptyParentheses(EmptyParentheses* expr) {} |
void AstExpressionVisitor::VisitSuperPropertyReference( |
- SuperPropertyReference* expr) {} |
+ SuperPropertyReference* expr) { |
+ VisitExpression(expr); |
+ RECURSE_EXPRESSION(VisitVariableProxy(expr->this_var())); |
+ RECURSE_EXPRESSION(Visit(expr->home_object())); |
+} |
-void AstExpressionVisitor::VisitSuperCallReference(SuperCallReference* expr) {} |
+void AstExpressionVisitor::VisitSuperCallReference(SuperCallReference* expr) { |
+ VisitExpression(expr); |
+ RECURSE_EXPRESSION(VisitVariableProxy(expr->this_var())); |
+ RECURSE_EXPRESSION(VisitVariableProxy(expr->new_target_var())); |
+ RECURSE_EXPRESSION(VisitVariableProxy(expr->this_function_var())); |
+} |
} // namespace internal |