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

Side by Side Diff: src/builtins.h

Issue 1579613002: [builtins] Refactor the remaining Date builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: As per offline discussion, remove the weird test, which does not add a lot of value. Created 4 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.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_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 \ 67 \
68 V(ArrayBufferConstructor, kTarget) \ 68 V(ArrayBufferConstructor, kTarget) \
69 V(ArrayBufferConstructor_ConstructStub, kTargetAndNewTarget) \ 69 V(ArrayBufferConstructor_ConstructStub, kTargetAndNewTarget) \
70 V(ArrayBufferIsView, kNone) \ 70 V(ArrayBufferIsView, kNone) \
71 \ 71 \
72 V(DateConstructor, kNone) \ 72 V(DateConstructor, kNone) \
73 V(DateConstructor_ConstructStub, kTargetAndNewTarget) \ 73 V(DateConstructor_ConstructStub, kTargetAndNewTarget) \
74 V(DateNow, kNone) \ 74 V(DateNow, kNone) \
75 V(DateParse, kNone) \ 75 V(DateParse, kNone) \
76 V(DateUTC, kNone) \ 76 V(DateUTC, kNone) \
77 V(DatePrototypeSetDate, kNone) \
78 V(DatePrototypeSetFullYear, kNone) \
79 V(DatePrototypeSetHours, kNone) \
80 V(DatePrototypeSetMilliseconds, kNone) \
81 V(DatePrototypeSetMinutes, kNone) \
82 V(DatePrototypeSetMonth, kNone) \
83 V(DatePrototypeSetSeconds, kNone) \
84 V(DatePrototypeSetTime, kNone) \
85 V(DatePrototypeSetUTCDate, kNone) \
86 V(DatePrototypeSetUTCFullYear, kNone) \
87 V(DatePrototypeSetUTCHours, kNone) \
88 V(DatePrototypeSetUTCMilliseconds, kNone) \
89 V(DatePrototypeSetUTCMinutes, kNone) \
90 V(DatePrototypeSetUTCMonth, kNone) \
91 V(DatePrototypeSetUTCSeconds, kNone) \
92 V(DatePrototypeToDateString, kNone) \
77 V(DatePrototypeToISOString, kNone) \ 93 V(DatePrototypeToISOString, kNone) \
78 V(DatePrototypeToPrimitive, kNone) \ 94 V(DatePrototypeToPrimitive, kNone) \
95 V(DatePrototypeToUTCString, kNone) \
96 V(DatePrototypeToString, kNone) \
97 V(DatePrototypeToTimeString, kNone) \
79 V(DatePrototypeValueOf, kNone) \ 98 V(DatePrototypeValueOf, kNone) \
99 V(DatePrototypeGetYear, kNone) \
100 V(DatePrototypeSetYear, kNone) \
80 \ 101 \
81 V(FunctionConstructor, kTargetAndNewTarget) \ 102 V(FunctionConstructor, kTargetAndNewTarget) \
82 V(FunctionPrototypeBind, kNone) \ 103 V(FunctionPrototypeBind, kNone) \
83 V(FunctionPrototypeToString, kNone) \ 104 V(FunctionPrototypeToString, kNone) \
84 \ 105 \
85 V(GeneratorFunctionConstructor, kTargetAndNewTarget) \ 106 V(GeneratorFunctionConstructor, kTargetAndNewTarget) \
86 \ 107 \
87 V(GlobalEval, kTarget) \ 108 V(GlobalEval, kTarget) \
88 \ 109 \
89 V(ObjectAssign, kNone) \ 110 V(ObjectAssign, kNone) \
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 friend class BuiltinFunctionTable; 513 friend class BuiltinFunctionTable;
493 friend class Isolate; 514 friend class Isolate;
494 515
495 DISALLOW_COPY_AND_ASSIGN(Builtins); 516 DISALLOW_COPY_AND_ASSIGN(Builtins);
496 }; 517 };
497 518
498 } // namespace internal 519 } // namespace internal
499 } // namespace v8 520 } // namespace v8
500 521
501 #endif // V8_BUILTINS_H_ 522 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698