summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-12-03 20:00:57 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-12-17 06:25:25 -0500
commitf5fa6cfea7dbd02dd690ac030157c4c94ba7ce63 (patch)
treeea17ddd710352b15a7f71e60bd49dd8e47725339
parentd0d9a4f43dbd58c694c706b17996157fede20bdf (diff)
downloadUXP-f5fa6cfea7dbd02dd690ac030157c4c94ba7ce63.tar
UXP-f5fa6cfea7dbd02dd690ac030157c4c94ba7ce63.tar.gz
UXP-f5fa6cfea7dbd02dd690ac030157c4c94ba7ce63.tar.lz
UXP-f5fa6cfea7dbd02dd690ac030157c4c94ba7ce63.tar.xz
UXP-f5fa6cfea7dbd02dd690ac030157c4c94ba7ce63.zip
Bug 1344753 - Update for-of stack depth in ControlFlowGenerator::processWhileOrForInLoop.
Tag #1287
-rw-r--r--js/src/jit/IonBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/IonBuilder.cpp b/js/src/jit/IonBuilder.cpp
index 0c69729a4..af4ca0657 100644
--- a/js/src/jit/IonBuilder.cpp
+++ b/js/src/jit/IonBuilder.cpp
@@ -3351,7 +3351,7 @@ IonBuilder::whileOrForInLoop(jssrcnote* sn)
unsigned stackPhiCount;
if (SN_TYPE(sn) == SRC_FOR_OF)
- stackPhiCount = 2;
+ stackPhiCount = 3;
else if (SN_TYPE(sn) == SRC_FOR_IN)
stackPhiCount = 1;
else