From aece6260fb6cd70fda5ffd781993f113c6917cf0 Mon Sep 17 00:00:00 2001 From: Martok Date: Tue, 25 Apr 2023 10:08:03 +0200 Subject: [PATCH] Issue #1894 - Follow-up: Fix return value ordering in IonMonkey nullish coalescing --- js/src/jit/IonBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }