| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 712d364362b0eaeeaa9a8296edbd6a736701eb28..da770b81965c542ffd490f42be806d6d5fe66698 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -1265,17 +1265,8 @@ void AstGraphBuilder::VisitForInStatement(ForInStatement* stmt) {
|
|
|
|
|
| void AstGraphBuilder::VisitForOfStatement(ForOfStatement* stmt) {
|
| - LoopBuilder for_loop(this);
|
| - VisitForEffect(stmt->assign_iterator());
|
| - for_loop.BeginLoop(GetVariablesAssignedInLoop(stmt), CheckOsrEntry(stmt));
|
| - VisitForEffect(stmt->next_result());
|
| - VisitForTest(stmt->result_done());
|
| - Node* condition = environment()->Pop();
|
| - for_loop.BreakWhen(condition);
|
| - VisitForEffect(stmt->assign_each());
|
| - VisitIterationBody(stmt, &for_loop, stmt->StackCheckId());
|
| - for_loop.EndBody();
|
| - for_loop.EndLoop();
|
| + // Iterator looping is supported only by going through Ignition first.
|
| + UNREACHABLE();
|
| }
|
|
|
|
|
|
|