| Index: src/asmjs/asm-typer.h
|
| diff --git a/src/asmjs/asm-typer.h b/src/asmjs/asm-typer.h
|
| index 2c66948d567f5ef3afb689c54105aa82f701ff61..4eaa6defb7077d512e57e75116b8202621488004 100644
|
| --- a/src/asmjs/asm-typer.h
|
| +++ b/src/asmjs/asm-typer.h
|
| @@ -184,14 +184,15 @@ class AsmTyper final {
|
| // the tests.
|
| class FlattenedStatements {
|
| public:
|
| - explicit FlattenedStatements(Zone* zone, ZoneList<Statement*>* s);
|
| + explicit FlattenedStatements(Zone* zone, ZoneChunkList<Statement*>* s);
|
| Statement* Next();
|
|
|
| private:
|
| struct Context {
|
| - explicit Context(ZoneList<Statement*>* s) : statements_(s) {}
|
| - ZoneList<Statement*>* statements_;
|
| - int next_index_ = 0;
|
| + explicit Context(ZoneChunkList<Statement*>* s)
|
| + : current_(s->begin()), end_(s->end()) {}
|
| + ForwardZoneChunkListIterator<Statement*> current_;
|
| + ForwardZoneChunkListIterator<Statement*> end_;
|
| };
|
|
|
| ZoneVector<Context> context_stack_;
|
|
|