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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 CPP(DatePrototypeToString) \ | 303 CPP(DatePrototypeToString) \ |
304 CPP(DatePrototypeToTimeString) \ | 304 CPP(DatePrototypeToTimeString) \ |
305 CPP(DatePrototypeValueOf) \ | 305 CPP(DatePrototypeValueOf) \ |
306 CPP(DatePrototypeToJson) \ | 306 CPP(DatePrototypeToJson) \ |
307 CPP(DateUTC) \ | 307 CPP(DateUTC) \ |
308 \ | 308 \ |
309 /* Error */ \ | 309 /* Error */ \ |
310 CPP(ErrorConstructor) \ | 310 CPP(ErrorConstructor) \ |
311 CPP(ErrorCaptureStackTrace) \ | 311 CPP(ErrorCaptureStackTrace) \ |
312 CPP(ErrorPrototypeToString) \ | 312 CPP(ErrorPrototypeToString) \ |
| 313 CPP(MakeGenericError) \ |
313 \ | 314 \ |
314 /* Function */ \ | 315 /* Function */ \ |
315 CPP(FunctionConstructor) \ | 316 CPP(FunctionConstructor) \ |
316 ASM(FunctionPrototypeApply) \ | 317 ASM(FunctionPrototypeApply) \ |
317 CPP(FunctionPrototypeBind) \ | 318 CPP(FunctionPrototypeBind) \ |
318 ASM(FunctionPrototypeCall) \ | 319 ASM(FunctionPrototypeCall) \ |
319 /* ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) */ \ | 320 /* ES6 section 19.2.3.6 Function.prototype [ @@hasInstance ] ( V ) */ \ |
320 TFJ(FunctionPrototypeHasInstance, 2) \ | 321 TFJ(FunctionPrototypeHasInstance, 2) \ |
321 CPP(FunctionPrototypeToString) \ | 322 CPP(FunctionPrototypeToString) \ |
322 \ | 323 \ |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 | 645 |
645 friend class Isolate; | 646 friend class Isolate; |
646 | 647 |
647 DISALLOW_COPY_AND_ASSIGN(Builtins); | 648 DISALLOW_COPY_AND_ASSIGN(Builtins); |
648 }; | 649 }; |
649 | 650 |
650 } // namespace internal | 651 } // namespace internal |
651 } // namespace v8 | 652 } // namespace v8 |
652 | 653 |
653 #endif // V8_BUILTINS_BUILTINS_H_ | 654 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |