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

Unified Diff: src/compiler/representation-change.cc

Issue 2116753002: [builtins] Unify most of the remaining Math builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2102223005
Patch Set: 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
Index: src/compiler/representation-change.cc
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc
index d726a8c5123a0cca03dee652e429d16273504185..41a98e17dc8b08362c45d671929e94edf71b931a 100644
--- a/src/compiler/representation-change.cc
+++ b/src/compiler/representation-change.cc
@@ -689,8 +689,18 @@ const Operator* RepresentationChanger::Float64OperatorFor(
return machine()->Float64LessThanOrEqual();
case IrOpcode::kNumberAbs:
return machine()->Float64Abs();
+ case IrOpcode::kNumberAcos:
+ return machine()->Float64Acos();
+ case IrOpcode::kNumberAcosh:
+ return machine()->Float64Acosh();
+ case IrOpcode::kNumberAsin:
+ return machine()->Float64Asin();
+ case IrOpcode::kNumberAsinh:
+ return machine()->Float64Asinh();
case IrOpcode::kNumberAtan:
return machine()->Float64Atan();
+ case IrOpcode::kNumberAtanh:
+ return machine()->Float64Atanh();
case IrOpcode::kNumberAtan2:
return machine()->Float64Atan2();
case IrOpcode::kNumberCbrt:
@@ -705,8 +715,6 @@ const Operator* RepresentationChanger::Float64OperatorFor(
return machine()->Float64Expm1();
case IrOpcode::kNumberFround:
return machine()->TruncateFloat64ToFloat32();
- case IrOpcode::kNumberAtanh:
- return machine()->Float64Atanh();
case IrOpcode::kNumberLog:
return machine()->Float64Log();
case IrOpcode::kNumberLog1p:

Powered by Google App Engine
This is Rietveld 408576698