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

Unified Diff: src/external-reference-table.cc

Issue 2068743002: [builtins] Unify Atanh, Cbrt and Expm1 as exports from flibm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed type warning. Created 4 years, 6 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/x64/code-generator-x64.cc ('k') | src/js/math.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/external-reference-table.cc
diff --git a/src/external-reference-table.cc b/src/external-reference-table.cc
index 5d280bfd87234f33353f9b0d148fd9d7f2d6c6d5..8a0014befbb7822a681dbf7f8f7881fab517cf33 100644
--- a/src/external-reference-table.cc
+++ b/src/external-reference-table.cc
@@ -71,8 +71,12 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
"base::ieee754::atan");
Add(ExternalReference::ieee754_atan2_function(isolate).address(),
"base::ieee754::atan2");
+ Add(ExternalReference::ieee754_atanh_function(isolate).address(),
+ "base::ieee754::atanh");
Add(ExternalReference::ieee754_exp_function(isolate).address(),
"base::ieee754::exp");
+ Add(ExternalReference::ieee754_expm1_function(isolate).address(),
+ "base::ieee754::expm1");
Add(ExternalReference::ieee754_log_function(isolate).address(),
"base::ieee754::log");
Add(ExternalReference::ieee754_log1p_function(isolate).address(),
@@ -81,6 +85,8 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
"base::ieee754::log2");
Add(ExternalReference::ieee754_log10_function(isolate).address(),
"base::ieee754::log10");
+ Add(ExternalReference::ieee754_cbrt_function(isolate).address(),
+ "base::ieee754::cbrt");
Add(ExternalReference::store_buffer_top(isolate).address(),
"store_buffer_top");
Add(ExternalReference::address_of_the_hole_nan().address(), "the_hole_nan");
« no previous file with comments | « src/compiler/x64/code-generator-x64.cc ('k') | src/js/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698