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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 TFJ(RegExpPrototypeReplace, 2) \ | 725 TFJ(RegExpPrototypeReplace, 2) \ |
726 \ | 726 \ |
727 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ | 727 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ |
728 TFJ(RegExpPrototypeSplit, 2) \ | 728 TFJ(RegExpPrototypeSplit, 2) \ |
729 \ | 729 \ |
730 /* SharedArrayBuffer */ \ | 730 /* SharedArrayBuffer */ \ |
731 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 731 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
732 TFJ(AtomicsLoad, 2) \ | 732 TFJ(AtomicsLoad, 2) \ |
733 TFJ(AtomicsStore, 3) \ | 733 TFJ(AtomicsStore, 3) \ |
734 TFJ(AtomicsExchange, 3) \ | 734 TFJ(AtomicsExchange, 3) \ |
| 735 TFJ(AtomicsCompareExchange, 4) \ |
735 \ | 736 \ |
736 /* String */ \ | 737 /* String */ \ |
737 ASM(StringConstructor) \ | 738 ASM(StringConstructor) \ |
738 ASM(StringConstructor_ConstructStub) \ | 739 ASM(StringConstructor_ConstructStub) \ |
739 CPP(StringFromCodePoint) \ | 740 CPP(StringFromCodePoint) \ |
740 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 741 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
741 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ | 742 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
742 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 743 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
743 TFJ(StringPrototypeCharAt, 1) \ | 744 TFJ(StringPrototypeCharAt, 1) \ |
744 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 745 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
995 | 996 |
996 friend class Isolate; | 997 friend class Isolate; |
997 | 998 |
998 DISALLOW_COPY_AND_ASSIGN(Builtins); | 999 DISALLOW_COPY_AND_ASSIGN(Builtins); |
999 }; | 1000 }; |
1000 | 1001 |
1001 } // namespace internal | 1002 } // namespace internal |
1002 } // namespace v8 | 1003 } // namespace v8 |
1003 | 1004 |
1004 #endif // V8_BUILTINS_BUILTINS_H_ | 1005 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |