From ba2b5a0c4fee870ee6064ed1c9818f79a8070e13 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 8 Apr 2014 17:58:45 -0700 Subject: [PATCH] Bug 985130 - IonMonkey: Use possibleCalls() instead of isCall(), to handle nodes like ApplyArgs, on a CLOSED TREE r=me --- js/src/jit/Lowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jit/Lowering.cpp b/js/src/jit/Lowering.cpp index 940549c7ecb7..7326c8862c5a 100644 --- a/js/src/jit/Lowering.cpp +++ b/js/src/jit/Lowering.cpp @@ -3586,7 +3586,7 @@ LIRGenerator::visitInstruction(MInstruction *ins) if (!ins->accept(this)) return false; - if (ins->isCall()) + if (ins->possiblyCalls()) gen->setPerformsCall(); if (ins->resumePoint())