OLD | NEW |
1 // Copyright 2017 the V8 project authors. All rights reserved. | 1 // Copyright 2017 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_DEFINITIONS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_ | 6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 \ | 236 \ |
237 /* Built-in functions for Javascript */ \ | 237 /* Built-in functions for Javascript */ \ |
238 /* Special internal builtins */ \ | 238 /* Special internal builtins */ \ |
239 CPP(EmptyFunction) \ | 239 CPP(EmptyFunction) \ |
240 CPP(Illegal) \ | 240 CPP(Illegal) \ |
241 CPP(RestrictedFunctionPropertiesThrower) \ | 241 CPP(RestrictedFunctionPropertiesThrower) \ |
242 CPP(RestrictedStrictArgumentsPropertiesThrower) \ | 242 CPP(RestrictedStrictArgumentsPropertiesThrower) \ |
243 CPP(UnsupportedThrower) \ | 243 CPP(UnsupportedThrower) \ |
244 TFJ(ReturnReceiver, 0) \ | 244 TFJ(ReturnReceiver, 0) \ |
245 \ | 245 \ |
| 246 TFS(DeleteProperty, kObject, kKey, kLanguageMode) \ |
| 247 \ |
246 /* Array */ \ | 248 /* Array */ \ |
247 ASM(ArrayCode) \ | 249 ASM(ArrayCode) \ |
248 ASM(InternalArrayCode) \ | 250 ASM(InternalArrayCode) \ |
249 CPP(ArrayConcat) \ | 251 CPP(ArrayConcat) \ |
250 /* ES6 #sec-array.isarray */ \ | 252 /* ES6 #sec-array.isarray */ \ |
251 TFJ(ArrayIsArray, 1, kArg) \ | 253 TFJ(ArrayIsArray, 1, kArg) \ |
252 /* ES7 #sec-array.prototype.includes */ \ | 254 /* ES7 #sec-array.prototype.includes */ \ |
253 TFJ(ArrayIncludes, 2, kSearchElement, kFromIndex) \ | 255 TFJ(ArrayIncludes, 2, kSearchElement, kFromIndex) \ |
254 /* ES6 #sec-array.prototype.indexof */ \ | 256 /* ES6 #sec-array.prototype.indexof */ \ |
255 TFJ(ArrayIndexOf, 2, kSearchElement, kFromIndex) \ | 257 TFJ(ArrayIndexOf, 2, kSearchElement, kFromIndex) \ |
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1052 #define BUILTIN_LIST_TFS(V) \ | 1054 #define BUILTIN_LIST_TFS(V) \ |
1053 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 1055 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
1054 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) | 1056 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) |
1055 | 1057 |
1056 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) | 1058 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) |
1057 | 1059 |
1058 } // namespace internal | 1060 } // namespace internal |
1059 } // namespace v8 | 1061 } // namespace v8 |
1060 | 1062 |
1061 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ | 1063 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
OLD | NEW |