diff options
author | Moonchild <moonchild@palemoon.org> | 2023-11-12 20:30:17 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-11-12 20:30:17 +0000 |
commit | db4ddc5f6855fdd89cf2af9090f78fb7ebb7f032 (patch) | |
tree | 8036ebc434967a0cde3de705a16faea54d117bfd /js/src/jit/RangeAnalysis.cpp | |
parent | c789882a294d29b3e5450a972ad67c4839c75e23 (diff) | |
parent | 9c75c8235e13e0f8309b11fa138253350bce0dd5 (diff) | |
download | uxp-db4ddc5f6855fdd89cf2af9090f78fb7ebb7f032.tar.gz |
Merge pull request 'Replace MOZ_FALLTHROUGH with [[fallthrough]]' (#2379) from 2343-fallthrough-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2379
Diffstat (limited to 'js/src/jit/RangeAnalysis.cpp')
-rw-r--r-- | js/src/jit/RangeAnalysis.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jit/RangeAnalysis.cpp b/js/src/jit/RangeAnalysis.cpp index bf1ea72d2a..09364e49f4 100644 --- a/js/src/jit/RangeAnalysis.cpp +++ b/js/src/jit/RangeAnalysis.cpp @@ -276,7 +276,7 @@ RangeAnalysis::addBetaNodes() if (!compare->isNumericComparison()) continue; // Otherwise fall through to handle JSOP_STRICTEQ the same as JSOP_EQ. - MOZ_FALLTHROUGH; + [[fallthrough]]; case JSOP_EQ: comp.setDouble(bound, bound); break; @@ -285,7 +285,7 @@ RangeAnalysis::addBetaNodes() if (!compare->isNumericComparison()) continue; // Otherwise fall through to handle JSOP_STRICTNE the same as JSOP_NE. - MOZ_FALLTHROUGH; + [[fallthrough]]; case JSOP_NE: // Negative zero is not not-equal to zero. if (bound == 0) { |