Index: src/ast-expression-visitor.cc |
diff --git a/src/ast-expression-visitor.cc b/src/ast-expression-visitor.cc |
index aa37f263450ccb06e076178c2fa3f2b42e4e3a06..a643b83d46bb455ec29074385400488ed9396c17 100644 |
--- a/src/ast-expression-visitor.cc |
+++ b/src/ast-expression-visitor.cc |
@@ -241,19 +241,22 @@ void AstExpressionVisitor::VisitAssignment(Assignment* expr) { |
void AstExpressionVisitor::VisitYield(Yield* expr) { |
- RECURSE(Visit(expr->generator_object())); |
- RECURSE(Visit(expr->expression())); |
+ VisitExpression(expr); |
+ RECURSE_EXPRESSION(Visit(expr->generator_object())); |
+ RECURSE_EXPRESSION(Visit(expr->expression())); |
} |
void AstExpressionVisitor::VisitThrow(Throw* expr) { |
- RECURSE(Visit(expr->exception())); |
+ VisitExpression(expr); |
+ RECURSE_EXPRESSION(Visit(expr->exception())); |
} |
void AstExpressionVisitor::VisitProperty(Property* expr) { |
- RECURSE(Visit(expr->obj())); |
- RECURSE(Visit(expr->key())); |
+ VisitExpression(expr); |
+ RECURSE_EXPRESSION(Visit(expr->obj())); |
+ RECURSE_EXPRESSION(Visit(expr->key())); |
} |