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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
838 /* ES6 #sec-%typedarray%.prototype.keys */ \ | 838 /* ES6 #sec-%typedarray%.prototype.keys */ \ |
839 TFJ(TypedArrayPrototypeKeys, 0) \ | 839 TFJ(TypedArrayPrototypeKeys, 0) \ |
840 /* ES6 #sec-%typedarray%.prototype.values */ \ | 840 /* ES6 #sec-%typedarray%.prototype.values */ \ |
841 TFJ(TypedArrayPrototypeValues, 0) \ | 841 TFJ(TypedArrayPrototypeValues, 0) \ |
842 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ | 842 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ |
843 CPP(TypedArrayPrototypeCopyWithin) \ | 843 CPP(TypedArrayPrototypeCopyWithin) \ |
844 /* ES7 #sec-%typedarray%.prototype.includes */ \ | 844 /* ES7 #sec-%typedarray%.prototype.includes */ \ |
845 CPP(TypedArrayPrototypeIncludes) \ | 845 CPP(TypedArrayPrototypeIncludes) \ |
846 /* ES6 #sec-%typedarray%.prototype.indexof */ \ | 846 /* ES6 #sec-%typedarray%.prototype.indexof */ \ |
847 CPP(TypedArrayPrototypeIndexOf) \ | 847 CPP(TypedArrayPrototypeIndexOf) \ |
848 /* ES6 #sec-%typedarray%.prototype.indexof */ \ | 848 /* ES6 #sec-%typedarray%.prototype.lastindexof */ \ |
849 CPP(TypedArrayPrototypeLastIndexOf) \ | 849 CPP(TypedArrayPrototypeLastIndexOf) \ |
| 850 /* ES6 #sec-%typedarray%.prototype.reverse */ \ |
| 851 CPP(TypedArrayPrototypeReverse) \ |
850 \ | 852 \ |
851 /* Wasm */ \ | 853 /* Wasm */ \ |
852 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 854 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
853 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 855 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
854 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ | 856 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ |
855 1) \ | 857 1) \ |
856 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 858 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
857 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ | 859 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ |
858 WasmRuntimeCall, 1) \ | 860 WasmRuntimeCall, 1) \ |
859 TFS(ThrowWasmTrapRemByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 861 TFS(ThrowWasmTrapRemByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1037 | 1039 |
1038 friend class Isolate; | 1040 friend class Isolate; |
1039 | 1041 |
1040 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1042 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1041 }; | 1043 }; |
1042 | 1044 |
1043 } // namespace internal | 1045 } // namespace internal |
1044 } // namespace v8 | 1046 } // namespace v8 |
1045 | 1047 |
1046 #endif // V8_BUILTINS_BUILTINS_H_ | 1048 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |