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

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

Issue 1804513002: [wasm] Int64Lowering of I64Div and I64Rem. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 9 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 cbf469fa85ae1b29698b5885260726b9e8861336..e92994b6c8887afeb1453a72ccbfa07c8261dc8a 100644
--- a/src/snapshot/serializer-common.cc
+++ b/src/snapshot/serializer-common.cc
@@ -131,6 +131,12 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
"wasm::float64_to_int64_wrapper");
Add(ExternalReference::wasm_float64_to_uint64(isolate).address(),
"wasm::float64_to_uint64_wrapper");
+ Add(ExternalReference::wasm_int64_div(isolate).address(), "wasm::int64_div");
+ Add(ExternalReference::wasm_int64_mod(isolate).address(), "wasm::int64_mod");
+ Add(ExternalReference::wasm_uint64_div(isolate).address(),
+ "wasm::uint64_div");
+ Add(ExternalReference::wasm_uint64_mod(isolate).address(),
+ "wasm::uint64_mod");
Add(ExternalReference::f64_acos_wrapper_function(isolate).address(),
"f64_acos_wrapper");
Add(ExternalReference::f64_asin_wrapper_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