| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 66a371bcebd8bf4e70c4e67d409ab47a58f7f117..0e642c9e6698064a6d2ebc9a3238b30940a742a6 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -744,13 +744,13 @@ void AstGraphBuilder::VisitForInStatement(ForInStatement* stmt) {
|
| // Bind value and do loop body.
|
| VisitForInAssignment(stmt->each(), value);
|
| VisitIterationBody(stmt, &for_loop, 5);
|
| + for_loop.EndBody();
|
| // Inc counter and continue.
|
| Node* index_inc =
|
| NewNode(javascript()->Add(), index, jsgraph()->OneConstant());
|
| // TODO(jarin): provide real bailout id.
|
| PrepareFrameState(index_inc, BailoutId::None());
|
| environment()->Poke(0, index_inc);
|
| - for_loop.EndBody();
|
| for_loop.EndLoop();
|
| environment()->Drop(5);
|
| // PrepareForBailoutForId(stmt->ExitId(), NO_REGISTERS);
|
|
|