| 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 CPP(MakeError) \ | 362 CPP(MakeError) \ |
| 363 CPP(MakeRangeError) \ | 363 CPP(MakeRangeError) \ |
| 364 CPP(MakeSyntaxError) \ | 364 CPP(MakeSyntaxError) \ |
| 365 CPP(MakeTypeError) \ | 365 CPP(MakeTypeError) \ |
| 366 CPP(MakeURIError) \ | 366 CPP(MakeURIError) \ |
| 367 \ | 367 \ |
| 368 /* Function */ \ | 368 /* Function */ \ |
| 369 CPP(FunctionConstructor) \ | 369 CPP(FunctionConstructor) \ |
| 370 ASM(FunctionPrototypeApply) \ | 370 ASM(FunctionPrototypeApply) \ |
| 371 CPP(FunctionPrototypeBind) \ | 371 CPP(FunctionPrototypeBind) \ |
| 372 TFJ(FastFunctionPrototypeBind, \ |
| 373 SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
| 372 ASM(FunctionPrototypeCall) \ | 374 ASM(FunctionPrototypeCall) \ |
| 373 /* ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) */ \ | 375 /* ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) */ \ |
| 374 TFJ(FunctionPrototypeHasInstance, 1) \ | 376 TFJ(FunctionPrototypeHasInstance, 1) \ |
| 375 CPP(FunctionPrototypeToString) \ | 377 CPP(FunctionPrototypeToString) \ |
| 376 \ | 378 \ |
| 377 /* Generator and Async */ \ | 379 /* Generator and Async */ \ |
| 378 CPP(GeneratorFunctionConstructor) \ | 380 CPP(GeneratorFunctionConstructor) \ |
| 379 /* ES6 section 25.3.1.2 Generator.prototype.next ( value ) */ \ | 381 /* ES6 section 25.3.1.2 Generator.prototype.next ( value ) */ \ |
| 380 TFJ(GeneratorPrototypeNext, 1) \ | 382 TFJ(GeneratorPrototypeNext, 1) \ |
| 381 /* ES6 section 25.3.1.3 Generator.prototype.return ( value ) */ \ | 383 /* ES6 section 25.3.1.3 Generator.prototype.return ( value ) */ \ |
| (...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 | 839 |
| 838 friend class Isolate; | 840 friend class Isolate; |
| 839 | 841 |
| 840 DISALLOW_COPY_AND_ASSIGN(Builtins); | 842 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 841 }; | 843 }; |
| 842 | 844 |
| 843 } // namespace internal | 845 } // namespace internal |
| 844 } // namespace v8 | 846 } // namespace v8 |
| 845 | 847 |
| 846 #endif // V8_BUILTINS_BUILTINS_H_ | 848 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |