Bug 1464002 - Implementation error of Atomics.compareExchange on mips. r=lth

--HG--
extra : rebase_source : cc5e9c8f507d0e6af6f2933f4591a6c6aa7766bc
This commit is contained in:
qiaopengcheng 2018-05-24 01:12:00 +03:00
parent 9ef2973212
commit 84a397878f

View File

@ -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());
}
}