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

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

Issue 1729833002: Add wasm internal opcodes for asm.js stdlib functions we're missing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix 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/asm-wasm-builder.cc » ('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 ba202e7cfc16286a922557ccaf5a439db6d9191e..0a7d2a6cf5132d3942ab0889b42d9d1ce2accfd3 100644
--- a/src/snapshot/serializer-common.cc
+++ b/src/snapshot/serializer-common.cc
@@ -115,6 +115,30 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
"f64_ceil_wrapper");
Add(ExternalReference::f64_nearest_int_wrapper_function(isolate).address(),
"f64_nearest_int_wrapper");
+
+ Add(ExternalReference::f64_acos_wrapper_function(isolate).address(),
+ "f64_acos_wrapper");
+ Add(ExternalReference::f64_asin_wrapper_function(isolate).address(),
+ "f64_asin_wrapper");
+ Add(ExternalReference::f64_atan_wrapper_function(isolate).address(),
+ "f64_atan_wrapper");
+ Add(ExternalReference::f64_cos_wrapper_function(isolate).address(),
+ "f64_cos_wrapper");
+ Add(ExternalReference::f64_sin_wrapper_function(isolate).address(),
+ "f64_sin_wrapper");
+ Add(ExternalReference::f64_tan_wrapper_function(isolate).address(),
+ "f64_tan_wrapper");
+ Add(ExternalReference::f64_exp_wrapper_function(isolate).address(),
+ "f64_exp_wrapper");
+ Add(ExternalReference::f64_log_wrapper_function(isolate).address(),
+ "f64_log_wrapper");
+ Add(ExternalReference::f64_pow_wrapper_function(isolate).address(),
+ "f64_pow_wrapper");
+ Add(ExternalReference::f64_atan2_wrapper_function(isolate).address(),
+ "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/asm-wasm-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698