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/handles.h" | 9 #include "src/handles.h" |
10 | 10 |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 CPP(FunctionConstructor) \ | 405 CPP(FunctionConstructor) \ |
406 ASM(FunctionPrototypeApply) \ | 406 ASM(FunctionPrototypeApply) \ |
407 CPP(FunctionPrototypeBind) \ | 407 CPP(FunctionPrototypeBind) \ |
408 TFJ(FastFunctionPrototypeBind, \ | 408 TFJ(FastFunctionPrototypeBind, \ |
409 SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ | 409 SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
410 ASM(FunctionPrototypeCall) \ | 410 ASM(FunctionPrototypeCall) \ |
411 /* ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) */ \ | 411 /* ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) */ \ |
412 TFJ(FunctionPrototypeHasInstance, 1) \ | 412 TFJ(FunctionPrototypeHasInstance, 1) \ |
413 CPP(FunctionPrototypeToString) \ | 413 CPP(FunctionPrototypeToString) \ |
414 \ | 414 \ |
| 415 /* Belongs to Objects but is a dependency of GeneratorPrototypeResume */ \ |
| 416 TFS(CreateIterResultObject, BUILTIN, kNoExtraICState, \ |
| 417 CreateIterResultObject) \ |
| 418 \ |
415 /* Generator and Async */ \ | 419 /* Generator and Async */ \ |
416 CPP(GeneratorFunctionConstructor) \ | 420 CPP(GeneratorFunctionConstructor) \ |
417 /* ES6 section 25.3.1.2 Generator.prototype.next ( value ) */ \ | 421 /* ES6 section 25.3.1.2 Generator.prototype.next ( value ) */ \ |
418 TFJ(GeneratorPrototypeNext, 1) \ | 422 TFJ(GeneratorPrototypeNext, 1) \ |
419 /* ES6 section 25.3.1.3 Generator.prototype.return ( value ) */ \ | 423 /* ES6 section 25.3.1.3 Generator.prototype.return ( value ) */ \ |
420 TFJ(GeneratorPrototypeReturn, 1) \ | 424 TFJ(GeneratorPrototypeReturn, 1) \ |
421 /* ES6 section 25.3.1.4 Generator.prototype.throw ( exception ) */ \ | 425 /* ES6 section 25.3.1.4 Generator.prototype.throw ( exception ) */ \ |
422 TFJ(GeneratorPrototypeThrow, 1) \ | 426 TFJ(GeneratorPrototypeThrow, 1) \ |
423 CPP(AsyncFunctionConstructor) \ | 427 CPP(AsyncFunctionConstructor) \ |
424 \ | 428 \ |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
913 | 917 |
914 friend class Isolate; | 918 friend class Isolate; |
915 | 919 |
916 DISALLOW_COPY_AND_ASSIGN(Builtins); | 920 DISALLOW_COPY_AND_ASSIGN(Builtins); |
917 }; | 921 }; |
918 | 922 |
919 } // namespace internal | 923 } // namespace internal |
920 } // namespace v8 | 924 } // namespace v8 |
921 | 925 |
922 #endif // V8_BUILTINS_BUILTINS_H_ | 926 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |