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

Unified Diff: src/compiler/js-builtin-reducer.h

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/js-builtin-reducer.h
diff --git a/src/compiler/js-builtin-reducer.h b/src/compiler/js-builtin-reducer.h
index cbf0310bebc6d70cd447d89c84b9bb7e7c27e1e4..ba8924e4c51085cc716996dd85e69805e603b0ef 100644
--- a/src/compiler/js-builtin-reducer.h
+++ b/src/compiler/js-builtin-reducer.h
@@ -30,9 +30,13 @@ class JSBuiltinReducer final : public AdvancedReducer {
private:
Reduction ReduceMathAbs(Node* node);
+ Reduction ReduceMathAcos(Node* node);
+ Reduction ReduceMathAcosh(Node* node);
+ Reduction ReduceMathAsin(Node* node);
+ Reduction ReduceMathAsinh(Node* node);
Reduction ReduceMathAtan(Node* node);
- Reduction ReduceMathAtan2(Node* node);
Reduction ReduceMathAtanh(Node* node);
+ Reduction ReduceMathAtan2(Node* node);
Reduction ReduceMathCbrt(Node* node);
Reduction ReduceMathCeil(Node* node);
Reduction ReduceMathClz32(Node* node);
@@ -51,6 +55,7 @@ class JSBuiltinReducer final : public AdvancedReducer {
Reduction ReduceMathMin(Node* node);
Reduction ReduceMathPow(Node* node);
Reduction ReduceMathRound(Node* node);
+ Reduction ReduceMathSign(Node* node);
Reduction ReduceMathSin(Node* node);
Reduction ReduceMathSinh(Node* node);
Reduction ReduceMathSqrt(Node* node);

Powered by Google App Engine
This is Rietveld 408576698