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/handles.h" | 9 #include "src/handles.h" |
10 | 10 |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 TFJ(RegExpPrototypeStickyGetter, 0) \ | 690 TFJ(RegExpPrototypeStickyGetter, 0) \ |
691 TFJ(RegExpPrototypeTest, 1) \ | 691 TFJ(RegExpPrototypeTest, 1) \ |
692 CPP(RegExpPrototypeToString) \ | 692 CPP(RegExpPrototypeToString) \ |
693 TFJ(RegExpPrototypeUnicodeGetter, 0) \ | 693 TFJ(RegExpPrototypeUnicodeGetter, 0) \ |
694 CPP(RegExpRightContextGetter) \ | 694 CPP(RegExpRightContextGetter) \ |
695 \ | 695 \ |
696 /* SharedArrayBuffer */ \ | 696 /* SharedArrayBuffer */ \ |
697 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 697 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
698 TFJ(AtomicsLoad, 2) \ | 698 TFJ(AtomicsLoad, 2) \ |
699 TFJ(AtomicsStore, 3) \ | 699 TFJ(AtomicsStore, 3) \ |
| 700 TFJ(AtomicsExchange, 3) \ |
700 \ | 701 \ |
701 /* String */ \ | 702 /* String */ \ |
702 ASM(StringConstructor) \ | 703 ASM(StringConstructor) \ |
703 ASM(StringConstructor_ConstructStub) \ | 704 ASM(StringConstructor_ConstructStub) \ |
704 CPP(StringFromCodePoint) \ | 705 CPP(StringFromCodePoint) \ |
705 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 706 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
706 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ | 707 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
707 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 708 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
708 TFJ(StringPrototypeCharAt, 1) \ | 709 TFJ(StringPrototypeCharAt, 1) \ |
709 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 710 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 | 918 |
918 friend class Isolate; | 919 friend class Isolate; |
919 | 920 |
920 DISALLOW_COPY_AND_ASSIGN(Builtins); | 921 DISALLOW_COPY_AND_ASSIGN(Builtins); |
921 }; | 922 }; |
922 | 923 |
923 } // namespace internal | 924 } // namespace internal |
924 } // namespace v8 | 925 } // namespace v8 |
925 | 926 |
926 #endif // V8_BUILTINS_BUILTINS_H_ | 927 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |