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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_BUILTINS_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V) 311 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V)
312 312
313 // Define list of builtins implemented in TurboFan (with JS linkage). 313 // Define list of builtins implemented in TurboFan (with JS linkage).
314 #define BUILTIN_LIST_T(V) \ 314 #define BUILTIN_LIST_T(V) \
315 V(FunctionPrototypeHasInstance, 2) \ 315 V(FunctionPrototypeHasInstance, 2) \
316 V(GeneratorPrototypeNext, 2) \ 316 V(GeneratorPrototypeNext, 2) \
317 V(GeneratorPrototypeReturn, 2) \ 317 V(GeneratorPrototypeReturn, 2) \
318 V(GeneratorPrototypeThrow, 2) \ 318 V(GeneratorPrototypeThrow, 2) \
319 V(MathAtan, 2) \ 319 V(MathAtan, 2) \
320 V(MathAtan2, 3) \ 320 V(MathAtan2, 3) \
321 V(MathAtanh, 2) \
321 V(MathCeil, 2) \ 322 V(MathCeil, 2) \
323 V(MathCbrt, 2) \
324 V(MathExpm1, 2) \
322 V(MathClz32, 2) \ 325 V(MathClz32, 2) \
323 V(MathExp, 2) \ 326 V(MathExp, 2) \
324 V(MathFloor, 2) \ 327 V(MathFloor, 2) \
325 V(MathLog, 2) \ 328 V(MathLog, 2) \
326 V(MathLog1p, 2) \ 329 V(MathLog1p, 2) \
327 V(MathLog2, 2) \ 330 V(MathLog2, 2) \
328 V(MathLog10, 2) \ 331 V(MathLog10, 2) \
329 V(MathRound, 2) \ 332 V(MathRound, 2) \
330 V(MathSqrt, 2) \ 333 V(MathSqrt, 2) \
331 V(MathTrunc, 2) \ 334 V(MathTrunc, 2) \
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 static void Generate_ReflectApply(MacroAssembler* masm); 627 static void Generate_ReflectApply(MacroAssembler* masm);
625 static void Generate_ReflectConstruct(MacroAssembler* masm); 628 static void Generate_ReflectConstruct(MacroAssembler* masm);
626 629
627 static void Generate_InternalArrayCode(MacroAssembler* masm); 630 static void Generate_InternalArrayCode(MacroAssembler* masm);
628 static void Generate_ArrayCode(MacroAssembler* masm); 631 static void Generate_ArrayCode(MacroAssembler* masm);
629 632
630 // ES6 section 20.2.2.6 Math.atan ( x ) 633 // ES6 section 20.2.2.6 Math.atan ( x )
631 static void Generate_MathAtan(CodeStubAssembler* assembler); 634 static void Generate_MathAtan(CodeStubAssembler* assembler);
632 // ES6 section 20.2.2.8 Math.atan2 ( y, x ) 635 // ES6 section 20.2.2.8 Math.atan2 ( y, x )
633 static void Generate_MathAtan2(CodeStubAssembler* assembler); 636 static void Generate_MathAtan2(CodeStubAssembler* assembler);
637 // ES6 section 20.2.2.7 Math.atanh ( x )
638 static void Generate_MathAtanh(CodeStubAssembler* assembler);
634 // ES6 section 20.2.2.10 Math.ceil ( x ) 639 // ES6 section 20.2.2.10 Math.ceil ( x )
635 static void Generate_MathCeil(CodeStubAssembler* assembler); 640 static void Generate_MathCeil(CodeStubAssembler* assembler);
641 // ES6 section 20.2.2.9 Math.ceil ( x )
642 static void Generate_MathCbrt(CodeStubAssembler* assembler);
643 // ES6 section 20.2.2.15 Math.expm1 ( x )
644 static void Generate_MathExpm1(CodeStubAssembler* assembler);
636 // ES6 section 20.2.2.11 Math.clz32 ( x ) 645 // ES6 section 20.2.2.11 Math.clz32 ( x )
637 static void Generate_MathClz32(CodeStubAssembler* assembler); 646 static void Generate_MathClz32(CodeStubAssembler* assembler);
638 // ES6 section 20.2.2.14 Math.exp ( x ) 647 // ES6 section 20.2.2.14 Math.exp ( x )
639 static void Generate_MathExp(CodeStubAssembler* assembler); 648 static void Generate_MathExp(CodeStubAssembler* assembler);
640 // ES6 section 20.2.2.16 Math.floor ( x ) 649 // ES6 section 20.2.2.16 Math.floor ( x )
641 static void Generate_MathFloor(CodeStubAssembler* assembler); 650 static void Generate_MathFloor(CodeStubAssembler* assembler);
642 // ES6 section 20.2.2.20 Math.log ( x ) 651 // ES6 section 20.2.2.20 Math.log ( x )
643 static void Generate_MathLog(CodeStubAssembler* assembler); 652 static void Generate_MathLog(CodeStubAssembler* assembler);
644 // ES6 section 20.2.2.21 Math.log ( x ) 653 // ES6 section 20.2.2.21 Math.log ( x )
645 static void Generate_MathLog1p(CodeStubAssembler* assembler); 654 static void Generate_MathLog1p(CodeStubAssembler* assembler);
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 friend class BuiltinFunctionTable; 754 friend class BuiltinFunctionTable;
746 friend class Isolate; 755 friend class Isolate;
747 756
748 DISALLOW_COPY_AND_ASSIGN(Builtins); 757 DISALLOW_COPY_AND_ASSIGN(Builtins);
749 }; 758 };
750 759
751 } // namespace internal 760 } // namespace internal
752 } // namespace v8 761 } // namespace v8
753 762
754 #endif // V8_BUILTINS_H_ 763 #endif // V8_BUILTINS_H_
OLDNEW
« 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