summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2023-04-25 10:08:03 +0200
committerMartok <martok@martoks-place.de>2023-04-30 13:26:26 +0200
commit9f246c4c74972af93715845cdc36bd9596163512 (patch)
treead0bbd54c2973ad6363fbfb9d1991f6152420095
parent06222816f7d57506dffc3b8e90852ae4824ee340 (diff)
downloaduxp-9f246c4c74972af93715845cdc36bd9596163512.tar.gz
Issue #1894 - Follow-up: Fix return value ordering in IonMonkey nullish coalescing
-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 7721ed99d5..a6dcdf001a 100644
--- a/js/src/jit/IonBuilder.cpp
+++ b/js/src/jit/IonBuilder.cpp
@@ -4443,7 +4443,7 @@ IonBuilder::jsop_logical(JSOp op)
MIsNullOrUndefined* isNullOrUndefined =
MIsNullOrUndefined::New(alloc(), lhs);
current->add(isNullOrUndefined);
- test = newTest(isNullOrUndefined, evalLhs, evalRhs);
+ test = newTest(isNullOrUndefined, evalRhs, evalLhs);
break;
}