summaryrefslogtreecommitdiff
path: root/js
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
commited233633cdd93004663b1501bc7e01b308853f37 (patch)
treeea17ddd710352b15a7f71e60bd49dd8e47725339 /js
parentf8e41dc1988c620b85d96358a2e13d6d876dfec8 (diff)
downloaduxp-ed233633cdd93004663b1501bc7e01b308853f37.tar.gz
Bug 1344753 - Update for-of stack depth in ControlFlowGenerator::processWhileOrForInLoop.
Tag mcp-graveyard/UXP#1287
Diffstat (limited to 'js')
-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 0c69729a4c..af4ca06576 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