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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 TFJ(AtomicsExchange, 3) \ |
| 737 CPP(AtomicsCompareExchange) \ |
| 738 CPP(AtomicsAdd) \ |
| 739 CPP(AtomicsSub) \ |
| 740 CPP(AtomicsAnd) \ |
| 741 CPP(AtomicsOr) \ |
| 742 CPP(AtomicsXor) \ |
| 743 CPP(AtomicsIsLockFree) \ |
| 744 CPP(AtomicsWait) \ |
| 745 CPP(AtomicsWake) \ |
737 \ | 746 \ |
738 /* String */ \ | 747 /* String */ \ |
739 ASM(StringConstructor) \ | 748 ASM(StringConstructor) \ |
740 ASM(StringConstructor_ConstructStub) \ | 749 ASM(StringConstructor_ConstructStub) \ |
741 CPP(StringFromCodePoint) \ | 750 CPP(StringFromCodePoint) \ |
742 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 751 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
743 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ | 752 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
744 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 753 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
745 TFJ(StringPrototypeCharAt, 1) \ | 754 TFJ(StringPrototypeCharAt, 1) \ |
746 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 755 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1005 | 1014 |
1006 friend class Isolate; | 1015 friend class Isolate; |
1007 | 1016 |
1008 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1017 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1009 }; | 1018 }; |
1010 | 1019 |
1011 } // namespace internal | 1020 } // namespace internal |
1012 } // namespace v8 | 1021 } // namespace v8 |
1013 | 1022 |
1014 #endif // V8_BUILTINS_BUILTINS_H_ | 1023 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |