Backed out changeset 4c1a64f8996a (bug 933257)
authorTooru Fujisawa <arai_a@mac.com>
Tue, 15 Mar 2016 08:15:08 +0900
changeset 288655 d6d6e2657a6f53028405369a52f2ee47a1b8beaf
parent 288654 ea5cbcad14d3685091d6839e77ed62f4d2d3dfe4
child 288656 be6746f085e463b6c4671609f67257f0f3f7fc24
push id18174
push usercbook@mozilla.com
push dateTue, 15 Mar 2016 09:44:58 +0000
treeherderfx-team@dd0baa33759d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs933257
milestone48.0a1
backs out4c1a64f8996abfcc7d32d32202c6def4d13ec5bd
Backed out changeset 4c1a64f8996a (bug 933257)
js/src/asmjs/WasmTypes.cpp
--- a/js/src/asmjs/WasmTypes.cpp
+++ b/js/src/asmjs/WasmTypes.cpp
@@ -13,18 +13,16 @@
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 
 #include "asmjs/WasmTypes.h"
 
-#include "fdlibm.h"
-
 #include "jslibmath.h"
 #include "jsmath.h"
 
 #include "asmjs/Wasm.h"
 #include "asmjs/WasmModule.h"
 #include "js/Conversions.h"
 #include "vm/Interpreter.h"
 
@@ -231,40 +229,40 @@ wasm::AddressOf(SymbolicAddress imm, Exc
 #endif
       case SymbolicAddress::ModD:
         return FuncCast(NumberMod, Args_Double_DoubleDouble);
       case SymbolicAddress::SinD:
 #ifdef _WIN64
         // Workaround a VS 2013 sin issue, see math_sin_uncached.
         return FuncCast<double (double)>(js::math_sin_uncached, Args_Double_Double);
 #else
-        return FuncCast<double (double)>(fdlibm::sin, Args_Double_Double);
+        return FuncCast<double (double)>(sin, Args_Double_Double);
 #endif
       case SymbolicAddress::CosD:
-        return FuncCast<double (double)>(fdlibm::cos, Args_Double_Double);
+        return FuncCast<double (double)>(cos, Args_Double_Double);
       case SymbolicAddress::TanD:
-        return FuncCast<double (double)>(fdlibm::tan, Args_Double_Double);
+        return FuncCast<double (double)>(tan, Args_Double_Double);
       case SymbolicAddress::ASinD:
-        return FuncCast<double (double)>(fdlibm::asin, Args_Double_Double);
+        return FuncCast<double (double)>(asin, Args_Double_Double);
       case SymbolicAddress::ACosD:
-        return FuncCast<double (double)>(fdlibm::acos, Args_Double_Double);
+        return FuncCast<double (double)>(acos, Args_Double_Double);
       case SymbolicAddress::ATanD:
-        return FuncCast<double (double)>(fdlibm::atan, Args_Double_Double);
+        return FuncCast<double (double)>(atan, Args_Double_Double);
       case SymbolicAddress::CeilD:
-        return FuncCast<double (double)>(fdlibm::ceil, Args_Double_Double);
+        return FuncCast<double (double)>(ceil, Args_Double_Double);
       case SymbolicAddress::CeilF:
-        return FuncCast<float (float)>(fdlibm::ceilf, Args_Float32_Float32);
+        return FuncCast<float (float)>(ceilf, Args_Float32_Float32);
       case SymbolicAddress::FloorD:
-        return FuncCast<double (double)>(fdlibm::floor, Args_Double_Double);
+        return FuncCast<double (double)>(floor, Args_Double_Double);
       case SymbolicAddress::FloorF:
-        return FuncCast<float (float)>(fdlibm::floorf, Args_Float32_Float32);
+        return FuncCast<float (float)>(floorf, Args_Float32_Float32);
       case SymbolicAddress::ExpD:
-        return FuncCast<double (double)>(fdlibm::exp, Args_Double_Double);
+        return FuncCast<double (double)>(exp, Args_Double_Double);
       case SymbolicAddress::LogD:
-        return FuncCast<double (double)>(fdlibm::log, Args_Double_Double);
+        return FuncCast<double (double)>(log, Args_Double_Double);
       case SymbolicAddress::PowD:
         return FuncCast(ecmaPow, Args_Double_DoubleDouble);
       case SymbolicAddress::ATan2D:
         return FuncCast(ecmaAtan2, Args_Double_DoubleDouble);
       case SymbolicAddress::Limit:
         break;
     }