| Index: src/ast/ast-expression-rewriter.cc
|
| diff --git a/src/ast/ast-expression-rewriter.cc b/src/ast/ast-expression-rewriter.cc
|
| index c4fa71be0a2ce769139a7615c080343d63705a21..d0db9eab66bd81b8408088a69fe287a6eb782d05 100644
|
| --- a/src/ast/ast-expression-rewriter.cc
|
| +++ b/src/ast/ast-expression-rewriter.cc
|
| @@ -19,11 +19,10 @@ namespace internal {
|
| } while (false)
|
| #define NOTHING() DCHECK_NULL(replacement_)
|
|
|
| -
|
| -void AstExpressionRewriter::VisitDeclarations(
|
| - ZoneList<Declaration*>* declarations) {
|
| - for (int i = 0; i < declarations->length(); i++) {
|
| - AST_REWRITE_LIST_ELEMENT(Declaration, declarations, i);
|
| +void AstExpressionRewriter::VisitDeclarations(Declaration::List* declarations) {
|
| + for (Declaration::List::Iterator it = declarations->begin();
|
| + it != declarations->end(); ++it) {
|
| + AST_REWRITE(Declaration, *it, it = replacement);
|
| }
|
| }
|
|
|
|
|