Backed out changeset 1778699fa005 (bug 1534492) for spidermonkey bustages on a CLOSED TREE.
authorOana Pop Rus <opoprus@mozilla.com>
Thu, 04 Apr 2019 15:29:46 +0300
changeset 467985 0a10d3faab9eb28b4fecd19c05944871f4e6f466
parent 467984 2bccb12b0ee60033ee4555d7ef6fdf26970d0a89
child 467986 75d0bd84d83f607fde8ed552a7c38489e848b249
push id112667
push useraiakab@mozilla.com
push dateThu, 04 Apr 2019 16:12:45 +0000
treeherdermozilla-inbound@230bb363f2f3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1534492
milestone68.0a1
backs out1778699fa005874daead175293e374af9c7a092d
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 1778699fa005 (bug 1534492) for spidermonkey bustages on a CLOSED TREE.
js/src/jit-test/tests/ion/sincos-abi-args-bug1534492.js
js/src/jit/Lowering.cpp
deleted file mode 100644
--- a/js/src/jit-test/tests/ion/sincos-abi-args-bug1534492.js
+++ /dev/null
@@ -1,6 +0,0 @@
-x = [0];
-for (let i = 0; i < 1; ++i) {
-    try {
-        Math.cos(x[0])(Math.sin(x[0]));
-    } catch (e) {}
-}
--- a/js/src/jit/Lowering.cpp
+++ b/js/src/jit/Lowering.cpp
@@ -3404,18 +3404,17 @@ void LIRGenerator::visitArrayJoin(MArray
 
 void LIRGenerator::visitSinCos(MSinCos* ins) {
   MOZ_ASSERT(ins->type() == MIRType::SinCosDouble);
   MOZ_ASSERT(ins->input()->type() == MIRType::Double ||
              ins->input()->type() == MIRType::Float32 ||
              ins->input()->type() == MIRType::Int32);
 
   LSinCos* lir = new (alloc()) LSinCos(useRegisterAtStart(ins->input()),
-                                       tempFixed(CallTempNonArgRegs[0]),
-                                       tempFixed(CallTempNonArgRegs[1]));
+                                       tempFixed(CallTempReg0), temp());
   defineSinCos(lir, ins);
 }
 
 void LIRGenerator::visitStringSplit(MStringSplit* ins) {
   MOZ_ASSERT(ins->type() == MIRType::Object);
   MOZ_ASSERT(ins->string()->type() == MIRType::String);
   MOZ_ASSERT(ins->separator()->type() == MIRType::String);