Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(846)

Unified Diff: src/snapshot/serializer-common.cc

Issue 1738623003: [wasm] Int64Lowering of FXXXConvertI64 instructions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/wasm/wasm-external-refs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/serializer-common.cc
diff --git a/src/snapshot/serializer-common.cc b/src/snapshot/serializer-common.cc
index 0a7d2a6cf5132d3942ab0889b42d9d1ce2accfd3..6fe827660a92ab86492e870ddce3068600f78b1f 100644
--- a/src/snapshot/serializer-common.cc
+++ b/src/snapshot/serializer-common.cc
@@ -99,23 +99,30 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
"InvokeFunctionCallback");
Add(ExternalReference::invoke_accessor_getter_callback(isolate).address(),
"InvokeAccessorGetterCallback");
- Add(ExternalReference::f32_trunc_wrapper_function(isolate).address(),
- "f32_trunc_wrapper");
- Add(ExternalReference::f32_floor_wrapper_function(isolate).address(),
- "f32_floor_wrapper");
- Add(ExternalReference::f32_ceil_wrapper_function(isolate).address(),
- "f32_ceil_wrapper");
- Add(ExternalReference::f32_nearest_int_wrapper_function(isolate).address(),
- "f32_nearest_int_wrapper");
- Add(ExternalReference::f64_trunc_wrapper_function(isolate).address(),
- "f64_trunc_wrapper");
- Add(ExternalReference::f64_floor_wrapper_function(isolate).address(),
- "f64_floor_wrapper");
- Add(ExternalReference::f64_ceil_wrapper_function(isolate).address(),
- "f64_ceil_wrapper");
- Add(ExternalReference::f64_nearest_int_wrapper_function(isolate).address(),
- "f64_nearest_int_wrapper");
-
+ Add(ExternalReference::wasm_f32_trunc(isolate).address(),
+ "wasm::f32_trunc_wrapper");
+ Add(ExternalReference::wasm_f32_floor(isolate).address(),
+ "wasm::f32_floor_wrapper");
+ Add(ExternalReference::wasm_f32_ceil(isolate).address(),
+ "wasm::f32_ceil_wrapper");
+ Add(ExternalReference::wasm_f32_nearest_int(isolate).address(),
+ "wasm::f32_nearest_int_wrapper");
+ Add(ExternalReference::wasm_f64_trunc(isolate).address(),
+ "wasm::f64_trunc_wrapper");
+ Add(ExternalReference::wasm_f64_floor(isolate).address(),
+ "wasm::f64_floor_wrapper");
+ Add(ExternalReference::wasm_f64_ceil(isolate).address(),
+ "wasm::f64_ceil_wrapper");
+ Add(ExternalReference::wasm_f64_nearest_int(isolate).address(),
+ "wasm::f64_nearest_int_wrapper");
+ Add(ExternalReference::wasm_int64_to_float32(isolate).address(),
+ "wasm::int64_to_float32_wrapper");
+ Add(ExternalReference::wasm_uint64_to_float32(isolate).address(),
+ "wasm::uint64_to_float32_wrapper");
+ Add(ExternalReference::wasm_int64_to_float64(isolate).address(),
+ "wasm::int64_to_float64_wrapper");
+ Add(ExternalReference::wasm_uint64_to_float64(isolate).address(),
+ "wasm::uint64_to_float64_wrapper");
Add(ExternalReference::f64_acos_wrapper_function(isolate).address(),
"f64_acos_wrapper");
Add(ExternalReference::f64_asin_wrapper_function(isolate).address(),
@@ -138,7 +145,6 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
"f64_atan2_wrapper");
Add(ExternalReference::f64_mod_wrapper_function(isolate).address(),
"f64_mod_wrapper");
-
Add(ExternalReference::log_enter_external_function(isolate).address(),
"Logger::EnterExternal");
Add(ExternalReference::log_leave_external_function(isolate).address(),
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/wasm/wasm-external-refs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698