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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 /* ES6 section 20.3.4.15 Date.prototype.getUTCHours ( ) */ \ | 353 /* ES6 section 20.3.4.15 Date.prototype.getUTCHours ( ) */ \ |
354 TFJ(DatePrototypeGetUTCHours, 0) \ | 354 TFJ(DatePrototypeGetUTCHours, 0) \ |
355 /* ES6 section 20.3.4.16 Date.prototype.getUTCMilliseconds ( ) */ \ | 355 /* ES6 section 20.3.4.16 Date.prototype.getUTCMilliseconds ( ) */ \ |
356 TFJ(DatePrototypeGetUTCMilliseconds, 0) \ | 356 TFJ(DatePrototypeGetUTCMilliseconds, 0) \ |
357 /* ES6 section 20.3.4.17 Date.prototype.getUTCMinutes ( ) */ \ | 357 /* ES6 section 20.3.4.17 Date.prototype.getUTCMinutes ( ) */ \ |
358 TFJ(DatePrototypeGetUTCMinutes, 0) \ | 358 TFJ(DatePrototypeGetUTCMinutes, 0) \ |
359 /* ES6 section 20.3.4.18 Date.prototype.getUTCMonth ( ) */ \ | 359 /* ES6 section 20.3.4.18 Date.prototype.getUTCMonth ( ) */ \ |
360 TFJ(DatePrototypeGetUTCMonth, 0) \ | 360 TFJ(DatePrototypeGetUTCMonth, 0) \ |
361 /* ES6 section 20.3.4.19 Date.prototype.getUTCSeconds ( ) */ \ | 361 /* ES6 section 20.3.4.19 Date.prototype.getUTCSeconds ( ) */ \ |
362 TFJ(DatePrototypeGetUTCSeconds, 0) \ | 362 TFJ(DatePrototypeGetUTCSeconds, 0) \ |
| 363 /* ES6 section 20.3.4.44 Date.prototype.valueOf ( ) */ \ |
| 364 TFJ(DatePrototypeValueOf, 0) \ |
| 365 /* ES6 section 20.3.4.45 Date.prototype [ @@toPrimitive ] ( hint ) */ \ |
| 366 TFJ(DatePrototypeToPrimitive, 1) \ |
363 CPP(DatePrototypeGetYear) \ | 367 CPP(DatePrototypeGetYear) \ |
364 CPP(DatePrototypeSetYear) \ | 368 CPP(DatePrototypeSetYear) \ |
365 CPP(DateNow) \ | 369 CPP(DateNow) \ |
366 CPP(DateParse) \ | 370 CPP(DateParse) \ |
367 CPP(DatePrototypeSetDate) \ | 371 CPP(DatePrototypeSetDate) \ |
368 CPP(DatePrototypeSetFullYear) \ | 372 CPP(DatePrototypeSetFullYear) \ |
369 CPP(DatePrototypeSetHours) \ | 373 CPP(DatePrototypeSetHours) \ |
370 CPP(DatePrototypeSetMilliseconds) \ | 374 CPP(DatePrototypeSetMilliseconds) \ |
371 CPP(DatePrototypeSetMinutes) \ | 375 CPP(DatePrototypeSetMinutes) \ |
372 CPP(DatePrototypeSetMonth) \ | 376 CPP(DatePrototypeSetMonth) \ |
373 CPP(DatePrototypeSetSeconds) \ | 377 CPP(DatePrototypeSetSeconds) \ |
374 CPP(DatePrototypeSetTime) \ | 378 CPP(DatePrototypeSetTime) \ |
375 CPP(DatePrototypeSetUTCDate) \ | 379 CPP(DatePrototypeSetUTCDate) \ |
376 CPP(DatePrototypeSetUTCFullYear) \ | 380 CPP(DatePrototypeSetUTCFullYear) \ |
377 CPP(DatePrototypeSetUTCHours) \ | 381 CPP(DatePrototypeSetUTCHours) \ |
378 CPP(DatePrototypeSetUTCMilliseconds) \ | 382 CPP(DatePrototypeSetUTCMilliseconds) \ |
379 CPP(DatePrototypeSetUTCMinutes) \ | 383 CPP(DatePrototypeSetUTCMinutes) \ |
380 CPP(DatePrototypeSetUTCMonth) \ | 384 CPP(DatePrototypeSetUTCMonth) \ |
381 CPP(DatePrototypeSetUTCSeconds) \ | 385 CPP(DatePrototypeSetUTCSeconds) \ |
382 CPP(DatePrototypeToDateString) \ | 386 CPP(DatePrototypeToDateString) \ |
383 CPP(DatePrototypeToISOString) \ | 387 CPP(DatePrototypeToISOString) \ |
384 CPP(DatePrototypeToPrimitive) \ | |
385 CPP(DatePrototypeToUTCString) \ | 388 CPP(DatePrototypeToUTCString) \ |
386 CPP(DatePrototypeToString) \ | 389 CPP(DatePrototypeToString) \ |
387 CPP(DatePrototypeToTimeString) \ | 390 CPP(DatePrototypeToTimeString) \ |
388 CPP(DatePrototypeValueOf) \ | |
389 CPP(DatePrototypeToJson) \ | 391 CPP(DatePrototypeToJson) \ |
390 CPP(DateUTC) \ | 392 CPP(DateUTC) \ |
391 \ | 393 \ |
392 /* Error */ \ | 394 /* Error */ \ |
393 CPP(ErrorConstructor) \ | 395 CPP(ErrorConstructor) \ |
394 CPP(ErrorCaptureStackTrace) \ | 396 CPP(ErrorCaptureStackTrace) \ |
395 CPP(ErrorPrototypeToString) \ | 397 CPP(ErrorPrototypeToString) \ |
396 CPP(MakeError) \ | 398 CPP(MakeError) \ |
397 CPP(MakeRangeError) \ | 399 CPP(MakeRangeError) \ |
398 CPP(MakeSyntaxError) \ | 400 CPP(MakeSyntaxError) \ |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 | 912 |
911 friend class Isolate; | 913 friend class Isolate; |
912 | 914 |
913 DISALLOW_COPY_AND_ASSIGN(Builtins); | 915 DISALLOW_COPY_AND_ASSIGN(Builtins); |
914 }; | 916 }; |
915 | 917 |
916 } // namespace internal | 918 } // namespace internal |
917 } // namespace v8 | 919 } // namespace v8 |
918 | 920 |
919 #endif // V8_BUILTINS_BUILTINS_H_ | 921 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |