diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2022-04-15 21:42:20 +0300 |
---|---|---|
committer | win7-7 <win7-7@users.noreply.github.com> | 2022-04-15 21:42:20 +0300 |
commit | 4ea9a83b7500a84bd6e3095ac55296a761eb4962 (patch) | |
tree | 3ed0b0e769e905e35035757110c7eb951fc3269d | |
parent | 022ed723390cd15cb4305de0b6b3b7749b568bab (diff) | |
parent | 9a2da3012a583487e7574572ffd3eb6030ad0964 (diff) | |
download | uxp-4ea9a83b7500a84bd6e3095ac55296a761eb4962.tar.gz |
Merge remote-tracking branch 'Upstream/master' into pr-1861
-rw-r--r-- | js/src/jit/IonBuilder.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/src/jit/IonBuilder.cpp b/js/src/jit/IonBuilder.cpp index 2b7ac6b9ce..dae86fd92a 100644 --- a/js/src/jit/IonBuilder.cpp +++ b/js/src/jit/IonBuilder.cpp @@ -8181,12 +8181,14 @@ IonBuilder::maybeMarkEmpty(MDefinition* ins) // as having no possible types too. This is to avoid degrading // subsequent analysis. for (size_t i = 0; i < ins->numOperands(); i++) { - if (!ins->emptyResultTypeSet()) + if (!ins->getOperand(i)->emptyResultTypeSet()) continue; TemporaryTypeSet* types = alloc().lifoAlloc()->new_<TemporaryTypeSet>(); - if (types) + if (types) { ins->setResultTypeSet(types); + return; + } } } |