Index: src/hydrogen-sce.cc |
diff --git a/src/hydrogen-sce.cc b/src/hydrogen-sce.cc |
index a6995f647afc00437783f057110c7654a28265c3..70b0a0c0825e9a18b16b6227780277398973b168 100644 |
--- a/src/hydrogen-sce.cc |
+++ b/src/hydrogen-sce.cc |
@@ -43,7 +43,7 @@ void HStackCheckEliminationPhase::Run() { |
HBasicBlock* dominator = back_edge; |
while (true) { |
for (HInstructionIterator it(dominator); !it.Done(); it.Advance()) { |
- if (it.Current()->IsCall()) { |
+ if (it.Current()->HasStackCheck()) { |
block->loop_information()->stack_check()->Eliminate(); |
break; |
} |