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

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

Issue 2083573002: [builtins] Unify Cosh, Sinh and Tanh as exports from flibm (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE and windows fix. 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/objects.h » ('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 981a89fb0d55fe613d8b09089222039569705cb4..ab7c718184ed32a96f9f607b169884e34351adfd 100644
--- a/src/external-reference-table.cc
+++ b/src/external-reference-table.cc
@@ -75,6 +75,8 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
"base::ieee754::cbrt");
Add(ExternalReference::ieee754_cos_function(isolate).address(),
"base::ieee754::cos");
+ Add(ExternalReference::ieee754_cosh_function(isolate).address(),
+ "base::ieee754::cosh");
Add(ExternalReference::ieee754_exp_function(isolate).address(),
"base::ieee754::exp");
Add(ExternalReference::ieee754_expm1_function(isolate).address(),
@@ -89,8 +91,12 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
"base::ieee754::log2");
Add(ExternalReference::ieee754_sin_function(isolate).address(),
"base::ieee754::sin");
+ Add(ExternalReference::ieee754_sinh_function(isolate).address(),
+ "base::ieee754::sinh");
Add(ExternalReference::ieee754_tan_function(isolate).address(),
"base::ieee754::tan");
+ Add(ExternalReference::ieee754_tanh_function(isolate).address(),
+ "base::ieee754::tanh");
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/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698