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

Side by Side Diff: src/builtins.h

Issue 2077533002: [builtins] Introduce proper Float64Exp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Import tests from Raymond. 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
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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(MathCeil, 2) \ 321 V(MathCeil, 2) \
322 V(MathClz32, 2) \ 322 V(MathClz32, 2) \
323 V(MathExp, 2) \
323 V(MathFloor, 2) \ 324 V(MathFloor, 2) \
324 V(MathLog, 2) \ 325 V(MathLog, 2) \
325 V(MathLog1p, 2) \ 326 V(MathLog1p, 2) \
326 V(MathLog2, 2) \ 327 V(MathLog2, 2) \
327 V(MathLog10, 2) \ 328 V(MathLog10, 2) \
328 V(MathRound, 2) \ 329 V(MathRound, 2) \
329 V(MathSqrt, 2) \ 330 V(MathSqrt, 2) \
330 V(MathTrunc, 2) \ 331 V(MathTrunc, 2) \
331 V(ObjectHasOwnProperty, 2) \ 332 V(ObjectHasOwnProperty, 2) \
332 V(ArrayIsArray, 2) \ 333 V(ArrayIsArray, 2) \
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 static void Generate_ArrayCode(MacroAssembler* masm); 628 static void Generate_ArrayCode(MacroAssembler* masm);
628 629
629 // ES6 section 20.2.2.6 Math.atan ( x ) 630 // ES6 section 20.2.2.6 Math.atan ( x )
630 static void Generate_MathAtan(CodeStubAssembler* assembler); 631 static void Generate_MathAtan(CodeStubAssembler* assembler);
631 // ES6 section 20.2.2.8 Math.atan2 ( y, x ) 632 // ES6 section 20.2.2.8 Math.atan2 ( y, x )
632 static void Generate_MathAtan2(CodeStubAssembler* assembler); 633 static void Generate_MathAtan2(CodeStubAssembler* assembler);
633 // ES6 section 20.2.2.10 Math.ceil ( x ) 634 // ES6 section 20.2.2.10 Math.ceil ( x )
634 static void Generate_MathCeil(CodeStubAssembler* assembler); 635 static void Generate_MathCeil(CodeStubAssembler* assembler);
635 // ES6 section 20.2.2.11 Math.clz32 ( x ) 636 // ES6 section 20.2.2.11 Math.clz32 ( x )
636 static void Generate_MathClz32(CodeStubAssembler* assembler); 637 static void Generate_MathClz32(CodeStubAssembler* assembler);
638 // ES6 section 20.2.2.14 Math.exp ( x )
639 static void Generate_MathExp(CodeStubAssembler* assembler);
637 // ES6 section 20.2.2.16 Math.floor ( x ) 640 // ES6 section 20.2.2.16 Math.floor ( x )
638 static void Generate_MathFloor(CodeStubAssembler* assembler); 641 static void Generate_MathFloor(CodeStubAssembler* assembler);
639 // ES6 section 20.2.2.20 Math.log ( x ) 642 // ES6 section 20.2.2.20 Math.log ( x )
640 static void Generate_MathLog(CodeStubAssembler* assembler); 643 static void Generate_MathLog(CodeStubAssembler* assembler);
641 // ES6 section 20.2.2.21 Math.log ( x ) 644 // ES6 section 20.2.2.21 Math.log ( x )
642 static void Generate_MathLog1p(CodeStubAssembler* assembler); 645 static void Generate_MathLog1p(CodeStubAssembler* assembler);
643 646
644 static void Generate_MathLog2(CodeStubAssembler* assembler); 647 static void Generate_MathLog2(CodeStubAssembler* assembler);
645 static void Generate_MathLog10(CodeStubAssembler* assembler); 648 static void Generate_MathLog10(CodeStubAssembler* assembler);
646 649
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 friend class BuiltinFunctionTable; 745 friend class BuiltinFunctionTable;
743 friend class Isolate; 746 friend class Isolate;
744 747
745 DISALLOW_COPY_AND_ASSIGN(Builtins); 748 DISALLOW_COPY_AND_ASSIGN(Builtins);
746 }; 749 };
747 750
748 } // namespace internal 751 } // namespace internal
749 } // namespace v8 752 } // namespace v8
750 753
751 #endif // V8_BUILTINS_H_ 754 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | test/unittests/base/ieee754-unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698