| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index e7725799233cbb63136c4bc73473c440d7463f95..e30e0f85a115174b3f10340fd3b323be07b1e5fb 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -2928,9 +2928,7 @@ void AstGraphBuilder::VisitInScope(Statement* stmt, Scope* s, Node* context) {
|
| void AstGraphBuilder::VisitIterationBody(IterationStatement* stmt,
|
| LoopBuilder* loop) {
|
| ControlScopeForIteration scope(this, stmt, loop);
|
| - // TODO(mstarzinger): For now we only allow to interrupt non-asm.js code,
|
| - // which is a gigantic hack and should be extended to all code at some point.
|
| - if (!info()->shared_info()->asm_function()) {
|
| + if (FLAG_turbo_loop_stackcheck) {
|
| Node* node = NewNode(javascript()->StackCheck());
|
| PrepareFrameState(node, stmt->StackCheckId());
|
| }
|
|
|