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

Unified Diff: src/builtins.h

Issue 2068743002: [builtins] Unify Atanh, Cbrt and Expm1 as exports from flibm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed type warning. 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/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.h
diff --git a/src/builtins.h b/src/builtins.h
index 4b6bffad9e15ae14cec791de85677cb6ffbc9c0d..32ea06636ffe61680c5e689038e2549446dd96ed 100644
--- a/src/builtins.h
+++ b/src/builtins.h
@@ -318,7 +318,10 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) {
V(GeneratorPrototypeThrow, 2) \
V(MathAtan, 2) \
V(MathAtan2, 3) \
+ V(MathAtanh, 2) \
V(MathCeil, 2) \
+ V(MathCbrt, 2) \
+ V(MathExpm1, 2) \
V(MathClz32, 2) \
V(MathExp, 2) \
V(MathFloor, 2) \
@@ -631,8 +634,14 @@ class Builtins {
static void Generate_MathAtan(CodeStubAssembler* assembler);
// ES6 section 20.2.2.8 Math.atan2 ( y, x )
static void Generate_MathAtan2(CodeStubAssembler* assembler);
+ // ES6 section 20.2.2.7 Math.atanh ( x )
+ static void Generate_MathAtanh(CodeStubAssembler* assembler);
// ES6 section 20.2.2.10 Math.ceil ( x )
static void Generate_MathCeil(CodeStubAssembler* assembler);
+ // ES6 section 20.2.2.9 Math.ceil ( x )
+ static void Generate_MathCbrt(CodeStubAssembler* assembler);
+ // ES6 section 20.2.2.15 Math.expm1 ( x )
+ static void Generate_MathExpm1(CodeStubAssembler* assembler);
// ES6 section 20.2.2.11 Math.clz32 ( x )
static void Generate_MathClz32(CodeStubAssembler* assembler);
// ES6 section 20.2.2.14 Math.exp ( x )
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698