Index: src/ast/ast-literal-reindexer.cc |
diff --git a/src/ast/ast-literal-reindexer.cc b/src/ast/ast-literal-reindexer.cc |
index a0ceee5b3589e0cc14d070fa897705abb0e67d19..deff8d5e249ef417e9afe54144b3f1e1a4c54337 100644 |
--- a/src/ast/ast-literal-reindexer.cc |
+++ b/src/ast/ast-literal-reindexer.cc |
@@ -321,9 +321,6 @@ void AstLiteralReindexer::VisitFunctionLiteral(FunctionLiteral* node) { |
// We don't recurse into the declarations or body of the function literal: |
} |
- |
-void AstLiteralReindexer::Reindex(Expression* pattern) { |
- pattern->Accept(this); |
-} |
+void AstLiteralReindexer::Reindex(Expression* pattern) { Visit(pattern); } |
} // namespace internal |
} // namespace v8 |