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

Unified Diff: src/compiler/simplified-operator.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/simplified-operator.cc
diff --git a/src/compiler/simplified-operator.cc b/src/compiler/simplified-operator.cc
index a4b5bba9714f9dc0d922dd49d47699a5ca2d3852..e5352cd573b5d96f0457dc9281cc52124cad1259 100644
--- a/src/compiler/simplified-operator.cc
+++ b/src/compiler/simplified-operator.cc
@@ -251,6 +251,10 @@ CompareOperationHints::Hint CompareOperationHintOf(const Operator* op) {
V(NumberCeil, Operator::kNoProperties, 1) \
V(NumberFloor, Operator::kNoProperties, 1) \
V(NumberFround, Operator::kNoProperties, 1) \
+ V(NumberAcos, Operator::kNoProperties, 1) \
+ V(NumberAcosh, Operator::kNoProperties, 1) \
+ V(NumberAsin, Operator::kNoProperties, 1) \
+ V(NumberAsinh, Operator::kNoProperties, 1) \
V(NumberAtan, Operator::kNoProperties, 1) \
V(NumberAtan2, Operator::kNoProperties, 2) \
V(NumberAtanh, Operator::kNoProperties, 1) \
@@ -265,6 +269,7 @@ CompareOperationHints::Hint CompareOperationHintOf(const Operator* op) {
V(NumberLog2, Operator::kNoProperties, 1) \
V(NumberPow, Operator::kNoProperties, 2) \
V(NumberRound, Operator::kNoProperties, 1) \
+ V(NumberSign, Operator::kNoProperties, 1) \
V(NumberSin, Operator::kNoProperties, 1) \
V(NumberSinh, Operator::kNoProperties, 1) \
V(NumberSqrt, Operator::kNoProperties, 1) \

Powered by Google App Engine
This is Rietveld 408576698