OLD | NEW |
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_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_BUILTINS_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace, 1) \ | 726 TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace, 1) \ |
727 TFJ(RegExpPrototypeReplace, 2) \ | 727 TFJ(RegExpPrototypeReplace, 2) \ |
728 \ | 728 \ |
729 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ | 729 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ |
730 TFJ(RegExpPrototypeSplit, 2) \ | 730 TFJ(RegExpPrototypeSplit, 2) \ |
731 \ | 731 \ |
732 /* SharedArrayBuffer */ \ | 732 /* SharedArrayBuffer */ \ |
733 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 733 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
734 TFJ(AtomicsLoad, 2) \ | 734 TFJ(AtomicsLoad, 2) \ |
735 TFJ(AtomicsStore, 3) \ | 735 TFJ(AtomicsStore, 3) \ |
| 736 TFJ(AtomicsExchange, 3) \ |
736 CPP(AtomicsCompareExchange) \ | 737 CPP(AtomicsCompareExchange) \ |
737 CPP(AtomicsAdd) \ | 738 CPP(AtomicsAdd) \ |
738 CPP(AtomicsSub) \ | 739 CPP(AtomicsSub) \ |
739 CPP(AtomicsAnd) \ | 740 CPP(AtomicsAnd) \ |
740 CPP(AtomicsOr) \ | 741 CPP(AtomicsOr) \ |
741 CPP(AtomicsXor) \ | 742 CPP(AtomicsXor) \ |
742 CPP(AtomicsExchange) \ | |
743 CPP(AtomicsIsLockFree) \ | 743 CPP(AtomicsIsLockFree) \ |
744 CPP(AtomicsWait) \ | 744 CPP(AtomicsWait) \ |
745 CPP(AtomicsWake) \ | 745 CPP(AtomicsWake) \ |
746 \ | 746 \ |
747 /* String */ \ | 747 /* String */ \ |
748 ASM(StringConstructor) \ | 748 ASM(StringConstructor) \ |
749 ASM(StringConstructor_ConstructStub) \ | 749 ASM(StringConstructor_ConstructStub) \ |
750 CPP(StringFromCodePoint) \ | 750 CPP(StringFromCodePoint) \ |
751 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 751 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
752 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ | 752 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 | 982 |
983 friend class Isolate; | 983 friend class Isolate; |
984 | 984 |
985 DISALLOW_COPY_AND_ASSIGN(Builtins); | 985 DISALLOW_COPY_AND_ASSIGN(Builtins); |
986 }; | 986 }; |
987 | 987 |
988 } // namespace internal | 988 } // namespace internal |
989 } // namespace v8 | 989 } // namespace v8 |
990 | 990 |
991 #endif // V8_BUILTINS_BUILTINS_H_ | 991 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |