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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ | 904 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ |
905 CPP(TypedArrayPrototypeCopyWithin) \ | 905 CPP(TypedArrayPrototypeCopyWithin) \ |
906 /* ES6 #sec-%typedarray%.prototype.fill */ \ | 906 /* ES6 #sec-%typedarray%.prototype.fill */ \ |
907 CPP(TypedArrayPrototypeFill) \ | 907 CPP(TypedArrayPrototypeFill) \ |
908 /* ES7 #sec-%typedarray%.prototype.includes */ \ | 908 /* ES7 #sec-%typedarray%.prototype.includes */ \ |
909 CPP(TypedArrayPrototypeIncludes) \ | 909 CPP(TypedArrayPrototypeIncludes) \ |
910 /* ES6 #sec-%typedarray%.prototype.indexof */ \ | 910 /* ES6 #sec-%typedarray%.prototype.indexof */ \ |
911 CPP(TypedArrayPrototypeIndexOf) \ | 911 CPP(TypedArrayPrototypeIndexOf) \ |
912 /* ES6 #sec-%typedarray%.prototype.indexof */ \ | 912 /* ES6 #sec-%typedarray%.prototype.indexof */ \ |
913 CPP(TypedArrayPrototypeLastIndexOf) \ | 913 CPP(TypedArrayPrototypeLastIndexOf) \ |
| 914 /* ES6 %TypedArray%.prototype.every */ \ |
| 915 TFJ(TypedArrayPrototypeEvery, 2, kCallbackFn, kThisArg) \ |
| 916 /* ES6 %TypedArray%.prototype.some */ \ |
| 917 TFJ(TypedArrayPrototypeSome, 2, kCallbackFn, kThisArg) \ |
914 \ | 918 \ |
915 /* Wasm */ \ | 919 /* Wasm */ \ |
916 ASM(WasmCompileLazy) \ | 920 ASM(WasmCompileLazy) \ |
917 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 921 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
918 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 922 TFS(ThrowWasmTrapUnreachable, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
919 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ | 923 TFS(ThrowWasmTrapMemOutOfBounds, BUILTIN, kNoExtraICState, WasmRuntimeCall, \ |
920 1) \ | 924 1) \ |
921 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ | 925 TFS(ThrowWasmTrapDivByZero, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \ |
922 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ | 926 TFS(ThrowWasmTrapDivUnrepresentable, BUILTIN, kNoExtraICState, \ |
923 WasmRuntimeCall, 1) \ | 927 WasmRuntimeCall, 1) \ |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 | 1123 |
1120 friend class Isolate; | 1124 friend class Isolate; |
1121 | 1125 |
1122 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1126 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1123 }; | 1127 }; |
1124 | 1128 |
1125 } // namespace internal | 1129 } // namespace internal |
1126 } // namespace v8 | 1130 } // namespace v8 |
1127 | 1131 |
1128 #endif // V8_BUILTINS_BUILTINS_H_ | 1132 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |