Index: src/ast/ast-expression-rewriter.cc |
diff --git a/src/ast/ast-expression-rewriter.cc b/src/ast/ast-expression-rewriter.cc |
index 49cc7f6ff4df6ccf4f27e40c369750df949b74c6..edee91d3a19d7164c7ca80b3dccce60218f67501 100644 |
--- a/src/ast/ast-expression-rewriter.cc |
+++ b/src/ast/ast-expression-rewriter.cc |
@@ -398,10 +398,10 @@ void AstExpressionRewriter::VisitDoExpression(DoExpression* node) { |
} |
-void AstExpressionRewriter::VisitRewritableAssignmentExpression( |
- RewritableAssignmentExpression* node) { |
+void AstExpressionRewriter::VisitRewritableExpression( |
+ RewritableExpression* node) { |
REWRITE_THIS(node); |
- AST_REWRITE_PROPERTY(Expression, node, expression); |
+ AST_REWRITE(Expression, node->expression(), node->Rewrite(replacement)); |
} |