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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 ASM(FunctionPrototypeCall) \ | 486 ASM(FunctionPrototypeCall) \ |
487 /* ES6 #sec-function.prototype-@@hasinstance */ \ | 487 /* ES6 #sec-function.prototype-@@hasinstance */ \ |
488 TFJ(FunctionPrototypeHasInstance, 1, kV) \ | 488 TFJ(FunctionPrototypeHasInstance, 1, kV) \ |
489 /* ES6 #sec-function.prototype.tostring */ \ | 489 /* ES6 #sec-function.prototype.tostring */ \ |
490 CPP(FunctionPrototypeToString) \ | 490 CPP(FunctionPrototypeToString) \ |
491 \ | 491 \ |
492 /* Belongs to Objects but is a dependency of GeneratorPrototypeResume */ \ | 492 /* Belongs to Objects but is a dependency of GeneratorPrototypeResume */ \ |
493 TFS(CreateIterResultObject, kValue, kDone) \ | 493 TFS(CreateIterResultObject, kValue, kDone) \ |
494 \ | 494 \ |
495 /* Generator and Async */ \ | 495 /* Generator and Async */ \ |
| 496 TFS(CreateGeneratorObject, kClosure, kReceiver) \ |
496 CPP(GeneratorFunctionConstructor) \ | 497 CPP(GeneratorFunctionConstructor) \ |
497 /* ES6 #sec-generator.prototype.next */ \ | 498 /* ES6 #sec-generator.prototype.next */ \ |
498 TFJ(GeneratorPrototypeNext, 1, kValue) \ | 499 TFJ(GeneratorPrototypeNext, 1, kValue) \ |
499 /* ES6 #sec-generator.prototype.return */ \ | 500 /* ES6 #sec-generator.prototype.return */ \ |
500 TFJ(GeneratorPrototypeReturn, 1, kValue) \ | 501 TFJ(GeneratorPrototypeReturn, 1, kValue) \ |
501 /* ES6 #sec-generator.prototype.throw */ \ | 502 /* ES6 #sec-generator.prototype.throw */ \ |
502 TFJ(GeneratorPrototypeThrow, 1, kException) \ | 503 TFJ(GeneratorPrototypeThrow, 1, kException) \ |
503 CPP(AsyncFunctionConstructor) \ | 504 CPP(AsyncFunctionConstructor) \ |
504 \ | 505 \ |
505 /* Global object */ \ | 506 /* Global object */ \ |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1055 #define BUILTIN_LIST_TFS(V) \ | 1056 #define BUILTIN_LIST_TFS(V) \ |
1056 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 1057 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
1057 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) | 1058 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) |
1058 | 1059 |
1059 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) | 1060 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) |
1060 | 1061 |
1061 } // namespace internal | 1062 } // namespace internal |
1062 } // namespace v8 | 1063 } // namespace v8 |
1063 | 1064 |
1064 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ | 1065 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
OLD | NEW |