Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 2ac086d371c6cfb70fc89f77ebd78e1ff78a4802..cec9298cac3e5cdb1174c439ce4c5f7dbedd415c 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -1142,7 +1142,7 @@ ExternalReference ExternalReference::wasm_word64_popcnt(Isolate* isolate) { |
} |
static void f64_acos_wrapper(double* param) { |
- WriteDoubleValue(param, std::acos(ReadDoubleValue(param))); |
+ WriteDoubleValue(param, base::ieee754::acos(ReadDoubleValue(param))); |
} |
ExternalReference ExternalReference::f64_acos_wrapper_function( |
@@ -1151,7 +1151,7 @@ ExternalReference ExternalReference::f64_acos_wrapper_function( |
} |
static void f64_asin_wrapper(double* param) { |
- WriteDoubleValue(param, std::asin(ReadDoubleValue(param))); |
+ WriteDoubleValue(param, base::ieee754::asin(ReadDoubleValue(param))); |
} |
ExternalReference ExternalReference::f64_asin_wrapper_function( |
@@ -1406,14 +1406,29 @@ ExternalReference ExternalReference::address_of_regexp_stack_memory_size( |
#endif // V8_INTERPRETED_REGEXP |
-ExternalReference ExternalReference::ieee754_atan_function(Isolate* isolate) { |
+ExternalReference ExternalReference::ieee754_acos_function(Isolate* isolate) { |
return ExternalReference( |
- Redirect(isolate, FUNCTION_ADDR(base::ieee754::atan), BUILTIN_FP_CALL)); |
+ Redirect(isolate, FUNCTION_ADDR(base::ieee754::acos), BUILTIN_FP_CALL)); |
} |
-ExternalReference ExternalReference::ieee754_atan2_function(Isolate* isolate) { |
+ExternalReference ExternalReference::ieee754_acosh_function(Isolate* isolate) { |
return ExternalReference(Redirect( |
- isolate, FUNCTION_ADDR(base::ieee754::atan2), BUILTIN_FP_FP_CALL)); |
+ isolate, FUNCTION_ADDR(base::ieee754::acosh), BUILTIN_FP_FP_CALL)); |
+} |
+ |
+ExternalReference ExternalReference::ieee754_asin_function(Isolate* isolate) { |
+ return ExternalReference( |
+ Redirect(isolate, FUNCTION_ADDR(base::ieee754::asin), BUILTIN_FP_CALL)); |
+} |
+ |
+ExternalReference ExternalReference::ieee754_asinh_function(Isolate* isolate) { |
+ return ExternalReference(Redirect( |
+ isolate, FUNCTION_ADDR(base::ieee754::asinh), BUILTIN_FP_FP_CALL)); |
+} |
+ |
+ExternalReference ExternalReference::ieee754_atan_function(Isolate* isolate) { |
+ return ExternalReference( |
+ Redirect(isolate, FUNCTION_ADDR(base::ieee754::atan), BUILTIN_FP_CALL)); |
} |
ExternalReference ExternalReference::ieee754_atanh_function(Isolate* isolate) { |
@@ -1421,6 +1436,11 @@ ExternalReference ExternalReference::ieee754_atanh_function(Isolate* isolate) { |
isolate, FUNCTION_ADDR(base::ieee754::atanh), BUILTIN_FP_FP_CALL)); |
} |
+ExternalReference ExternalReference::ieee754_atan2_function(Isolate* isolate) { |
+ return ExternalReference(Redirect( |
+ isolate, FUNCTION_ADDR(base::ieee754::atan2), BUILTIN_FP_FP_CALL)); |
+} |
+ |
ExternalReference ExternalReference::ieee754_cbrt_function(Isolate* isolate) { |
return ExternalReference(Redirect(isolate, FUNCTION_ADDR(base::ieee754::cbrt), |
BUILTIN_FP_FP_CALL)); |