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