Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index b232a5e43917b0746ac10baa65b18e8c007fe9e1..c5d601ca2e3dde6b2f00a3426077a54d16e1e355 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4612,6 +4612,7 @@ void HOptimizedGraphBuilder::VisitDoWhileStatement(DoWhileStatement* stmt) { |
set_current_block(body_exit); |
loop_successor = graph()->CreateBasicBlock(); |
if (stmt->cond()->ToBooleanIsFalse()) { |
+ loop_entry->loop_information()->stack_check()->Eliminate(); |
Goto(loop_successor); |
body_exit = NULL; |
} else { |