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

Unified Diff: src/compiler/representation-change.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/raw-machine-assembler.h ('k') | src/compiler/simplified-operator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/representation-change.cc
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc
index 189135d4cd104d9f741e3a0ff0c481c3f7cd026d..d726a8c5123a0cca03dee652e429d16273504185 100644
--- a/src/compiler/representation-change.cc
+++ b/src/compiler/representation-change.cc
@@ -697,6 +697,8 @@ const Operator* RepresentationChanger::Float64OperatorFor(
return machine()->Float64Cbrt();
case IrOpcode::kNumberCos:
return machine()->Float64Cos();
+ case IrOpcode::kNumberCosh:
+ return machine()->Float64Cosh();
case IrOpcode::kNumberExp:
return machine()->Float64Exp();
case IrOpcode::kNumberExpm1:
@@ -717,10 +719,14 @@ const Operator* RepresentationChanger::Float64OperatorFor(
return machine()->Float64Pow();
case IrOpcode::kNumberSin:
return machine()->Float64Sin();
+ case IrOpcode::kNumberSinh:
+ return machine()->Float64Sinh();
case IrOpcode::kNumberSqrt:
return machine()->Float64Sqrt();
case IrOpcode::kNumberTan:
return machine()->Float64Tan();
+ case IrOpcode::kNumberTanh:
+ return machine()->Float64Tanh();
case IrOpcode::kNumberSilenceNaN:
return machine()->Float64SilenceNaN();
default:
« no previous file with comments | « src/compiler/raw-machine-assembler.h ('k') | src/compiler/simplified-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698