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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.h
diff --git a/src/builtins.h b/src/builtins.h
index 0629e9945dc0284ef23687c7cd05934f9ad9adde..b8e825e13217eb9c4307e882956758a2c27c1966 100644
--- a/src/builtins.h
+++ b/src/builtins.h
@@ -74,9 +74,30 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) {
V(DateNow, kNone) \
V(DateParse, kNone) \
V(DateUTC, kNone) \
+ V(DatePrototypeSetDate, kNone) \
+ V(DatePrototypeSetFullYear, kNone) \
+ V(DatePrototypeSetHours, kNone) \
+ V(DatePrototypeSetMilliseconds, kNone) \
+ V(DatePrototypeSetMinutes, kNone) \
+ V(DatePrototypeSetMonth, kNone) \
+ V(DatePrototypeSetSeconds, kNone) \
+ V(DatePrototypeSetTime, kNone) \
+ V(DatePrototypeSetUTCDate, kNone) \
+ V(DatePrototypeSetUTCFullYear, kNone) \
+ V(DatePrototypeSetUTCHours, kNone) \
+ V(DatePrototypeSetUTCMilliseconds, kNone) \
+ V(DatePrototypeSetUTCMinutes, kNone) \
+ V(DatePrototypeSetUTCMonth, kNone) \
+ V(DatePrototypeSetUTCSeconds, kNone) \
+ V(DatePrototypeToDateString, kNone) \
V(DatePrototypeToISOString, kNone) \
V(DatePrototypeToPrimitive, kNone) \
+ V(DatePrototypeToUTCString, kNone) \
+ V(DatePrototypeToString, kNone) \
+ V(DatePrototypeToTimeString, kNone) \
V(DatePrototypeValueOf, kNone) \
+ V(DatePrototypeGetYear, kNone) \
+ V(DatePrototypeSetYear, kNone) \
\
V(FunctionConstructor, kTargetAndNewTarget) \
V(FunctionPrototypeBind, kNone) \
« 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