Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(802)

Side by Side Diff: src/builtins/builtins.h

Issue 2608143003: [builtins] Migrate more Date builtins to TurboFan builtins. (Closed)
Patch Set: Fix invalid @@toPrimitive. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-date.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-date.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698