From 84a397878f829acd057180d649c3336c9d424d36 Mon Sep 17 00:00:00 2001 From: qiaopengcheng Date: Thu, 24 May 2018 01:12:00 +0300 Subject: [PATCH] Bug 1464002 - Implementation error of Atomics.compareExchange on mips. r=lth --HG-- extra : rebase_source : cc5e9c8f507d0e6af6f2933f4591a6c6aa7766bc --- js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp b/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp index 4b078509d768..c29965119034 100644 --- a/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp +++ b/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp @@ -2673,7 +2673,7 @@ CompareExchangeJS(MacroAssembler& masm, Scalar::Type arrayType, const Synchroniz temp); masm.convertUInt32ToDouble(temp, output.fpu()); } else { - masm.compareExchange(arrayType, sync, mem, oldval, newval, valueTemp, maskTemp, temp, + masm.compareExchange(arrayType, sync, mem, oldval, newval, valueTemp, offsetTemp, maskTemp, output.gpr()); } }