Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 8c5dce61eea424a526fb3902666b2a0ad20f91fa..fd8a56aa21a23bc9bc017bcc7688c8392c7b658d 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2228,10 +2228,8 @@ void AstGraphBuilder::VisitIterationBody(IterationStatement* stmt, |
LoopBuilder* loop, |
BailoutId stack_check_id) { |
ControlScopeForIteration scope(this, stmt, loop); |
- if (FLAG_turbo_loop_stackcheck || !info()->shared_info()->asm_function()) { |
- Node* node = NewNode(javascript()->StackCheck()); |
- PrepareFrameState(node, stack_check_id); |
- } |
+ Node* node = NewNode(javascript()->StackCheck()); |
+ PrepareFrameState(node, stack_check_id); |
Visit(stmt->body()); |
} |