summaryrefslogtreecommitdiff
path: root/deps/v8/src/hydrogen-sce.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/hydrogen-sce.cc')
-rw-r--r--deps/v8/src/hydrogen-sce.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/hydrogen-sce.cc b/deps/v8/src/hydrogen-sce.cc
index a6995f647a..70b0a0c082 100644
--- a/deps/v8/src/hydrogen-sce.cc
+++ b/deps/v8/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;
}