| Index: src/crankshaft/typing.cc
|
| diff --git a/src/crankshaft/typing.cc b/src/crankshaft/typing.cc
|
| index 1215dc25f24b43bcf46104b4e3eae484304f6ab5..579fc394730219a7445d40628f358c65eac404b1 100644
|
| --- a/src/crankshaft/typing.cc
|
| +++ b/src/crankshaft/typing.cc
|
| @@ -781,9 +781,8 @@ int AstTyper::variable_index(Variable* var) {
|
| : var->IsParameter() ? parameter_index(var->index()) : kNoVar;
|
| }
|
|
|
| -void AstTyper::VisitDeclarations(ZoneList<Declaration*>* decls) {
|
| - for (int i = 0; i < decls->length(); ++i) {
|
| - Declaration* decl = decls->at(i);
|
| +void AstTyper::VisitDeclarations(Declaration::List* decls) {
|
| + for (Declaration* decl : *decls) {
|
| RECURSE(Visit(decl));
|
| }
|
| }
|
|
|