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 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 /* ES6 #sec-%typedarray%.prototype.fill */ \ | 890 /* ES6 #sec-%typedarray%.prototype.fill */ \ |
891 CPP(TypedArrayPrototypeFill) \ | 891 CPP(TypedArrayPrototypeFill) \ |
892 /* ES7 #sec-%typedarray%.prototype.includes */ \ | 892 /* ES7 #sec-%typedarray%.prototype.includes */ \ |
893 CPP(TypedArrayPrototypeIncludes) \ | 893 CPP(TypedArrayPrototypeIncludes) \ |
894 /* ES6 #sec-%typedarray%.prototype.indexof */ \ | 894 /* ES6 #sec-%typedarray%.prototype.indexof */ \ |
895 CPP(TypedArrayPrototypeIndexOf) \ | 895 CPP(TypedArrayPrototypeIndexOf) \ |
896 /* ES6 #sec-%typedarray%.prototype.lastindexof */ \ | 896 /* ES6 #sec-%typedarray%.prototype.lastindexof */ \ |
897 CPP(TypedArrayPrototypeLastIndexOf) \ | 897 CPP(TypedArrayPrototypeLastIndexOf) \ |
898 /* ES6 #sec-%typedarray%.prototype.reverse */ \ | 898 /* ES6 #sec-%typedarray%.prototype.reverse */ \ |
899 CPP(TypedArrayPrototypeReverse) \ | 899 CPP(TypedArrayPrototypeReverse) \ |
| 900 /* ES6 %TypedArray%.prototype.every */ \ |
| 901 TFJ(TypedArrayPrototypeEvery, 2, kCallbackFn, kThisArg) \ |
| 902 /* ES6 %TypedArray%.prototype.some */ \ |
| 903 TFJ(TypedArrayPrototypeSome, 2, kCallbackFn, kThisArg) \ |
900 \ | 904 \ |
901 /* Wasm */ \ | 905 /* Wasm */ \ |
902 ASM(WasmCompileLazy) \ | 906 ASM(WasmCompileLazy) \ |
903 TFS(WasmStackGuard, WasmRuntimeCall, 1) \ | 907 TFS(WasmStackGuard, WasmRuntimeCall, 1) \ |
904 TFS(ThrowWasmTrapUnreachable, WasmRuntimeCall, 1) \ | 908 TFS(ThrowWasmTrapUnreachable, WasmRuntimeCall, 1) \ |
905 TFS(ThrowWasmTrapMemOutOfBounds, WasmRuntimeCall, 1) \ | 909 TFS(ThrowWasmTrapMemOutOfBounds, WasmRuntimeCall, 1) \ |
906 TFS(ThrowWasmTrapDivByZero, WasmRuntimeCall, 1) \ | 910 TFS(ThrowWasmTrapDivByZero, WasmRuntimeCall, 1) \ |
907 TFS(ThrowWasmTrapDivUnrepresentable, WasmRuntimeCall, 1) \ | 911 TFS(ThrowWasmTrapDivUnrepresentable, WasmRuntimeCall, 1) \ |
908 TFS(ThrowWasmTrapRemByZero, WasmRuntimeCall, 1) \ | 912 TFS(ThrowWasmTrapRemByZero, WasmRuntimeCall, 1) \ |
909 TFS(ThrowWasmTrapFloatUnrepresentable, WasmRuntimeCall, 1) \ | 913 TFS(ThrowWasmTrapFloatUnrepresentable, WasmRuntimeCall, 1) \ |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 | 1101 |
1098 friend class Isolate; | 1102 friend class Isolate; |
1099 | 1103 |
1100 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1104 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1101 }; | 1105 }; |
1102 | 1106 |
1103 } // namespace internal | 1107 } // namespace internal |
1104 } // namespace v8 | 1108 } // namespace v8 |
1105 | 1109 |
1106 #endif // V8_BUILTINS_BUILTINS_H_ | 1110 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |