| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index a9825cf40022b59790224aa19775d5b595b772ec..8a618aff8c2bb74f02f346e1f3c0e20178a39586 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -2929,12 +2929,8 @@ 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()) {
|
| - Node* node = NewNode(javascript()->StackCheck());
|
| - PrepareFrameState(node, stmt->StackCheckId());
|
| - }
|
| + Node* node = NewNode(javascript()->StackCheck());
|
| + PrepareFrameState(node, stmt->StackCheckId());
|
| Visit(stmt->body());
|
| }
|
|
|
|
|