Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index ff5816b21e59cc2390ba8d020e4b42866a7ff730..a5ae96dda62742108e7dc340ef38f8297af4708f 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -1209,6 +1209,26 @@ ExternalReference ExternalReference::wasm_uint64_to_float64(Isolate* isolate) { |
Redirect(isolate, FUNCTION_ADDR(wasm::uint64_to_float64_wrapper))); |
} |
+ExternalReference ExternalReference::wasm_float32_to_int64(Isolate* isolate) { |
+ return ExternalReference( |
+ Redirect(isolate, FUNCTION_ADDR(wasm::float32_to_int64_wrapper))); |
+} |
+ |
+ExternalReference ExternalReference::wasm_float32_to_uint64(Isolate* isolate) { |
+ return ExternalReference( |
+ Redirect(isolate, FUNCTION_ADDR(wasm::float32_to_uint64_wrapper))); |
+} |
+ |
+ExternalReference ExternalReference::wasm_float64_to_int64(Isolate* isolate) { |
+ return ExternalReference( |
+ Redirect(isolate, FUNCTION_ADDR(wasm::float64_to_int64_wrapper))); |
+} |
+ |
+ExternalReference ExternalReference::wasm_float64_to_uint64(Isolate* isolate) { |
+ return ExternalReference( |
+ Redirect(isolate, FUNCTION_ADDR(wasm::float64_to_uint64_wrapper))); |
+} |
+ |
static void f64_acos_wrapper(double* param) { *param = std::acos(*param); } |
ExternalReference ExternalReference::f64_acos_wrapper_function( |