| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 5ad7bea934aa9569118e0a1ae44b02216d1ec67a..7f82f0cee69c581309c5c4a91603cc0984fb70d0 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -2549,6 +2549,42 @@ bool Genesis::InstallNatives(ContextType context_type) {
|
| // Install the toISOString and valueOf functions.
|
| SimpleInstallFunction(prototype, "toISOString",
|
| Builtins::kDatePrototypeToISOString, 0, false);
|
| + SimpleInstallFunction(prototype, "getDate", Builtins::kDatePrototypeGetDate,
|
| + 0, true);
|
| + SimpleInstallFunction(prototype, "getDay", Builtins::kDatePrototypeGetDay,
|
| + 0, true);
|
| + SimpleInstallFunction(prototype, "getFullYear",
|
| + Builtins::kDatePrototypeGetFullYear, 0, true);
|
| + SimpleInstallFunction(prototype, "getHours",
|
| + Builtins::kDatePrototypeGetHours, 0, true);
|
| + SimpleInstallFunction(prototype, "getMilliseconds",
|
| + Builtins::kDatePrototypeGetMilliseconds, 0, true);
|
| + SimpleInstallFunction(prototype, "getMinutes",
|
| + Builtins::kDatePrototypeGetMinutes, 0, true);
|
| + SimpleInstallFunction(prototype, "getMonth",
|
| + Builtins::kDatePrototypeGetMonth, 0, true);
|
| + SimpleInstallFunction(prototype, "getSeconds",
|
| + Builtins::kDatePrototypeGetSeconds, 0, true);
|
| + SimpleInstallFunction(prototype, "getTime", Builtins::kDatePrototypeGetTime,
|
| + 0, true);
|
| + SimpleInstallFunction(prototype, "getTimezoneOffset",
|
| + Builtins::kDatePrototypeGetTimezoneOffset, 0, true);
|
| + SimpleInstallFunction(prototype, "getUTCDate",
|
| + Builtins::kDatePrototypeGetUTCDate, 0, true);
|
| + SimpleInstallFunction(prototype, "getUTCDay",
|
| + Builtins::kDatePrototypeGetUTCDay, 0, true);
|
| + SimpleInstallFunction(prototype, "getUTCFullYear",
|
| + Builtins::kDatePrototypeGetUTCFullYear, 0, true);
|
| + SimpleInstallFunction(prototype, "getUTCHours",
|
| + Builtins::kDatePrototypeGetUTCHours, 0, true);
|
| + SimpleInstallFunction(prototype, "getUTCMilliseconds",
|
| + Builtins::kDatePrototypeGetUTCMilliseconds, 0, true);
|
| + SimpleInstallFunction(prototype, "getUTCMinutes",
|
| + Builtins::kDatePrototypeGetUTCMinutes, 0, true);
|
| + SimpleInstallFunction(prototype, "getUTCMonth",
|
| + Builtins::kDatePrototypeGetUTCMonth, 0, true);
|
| + SimpleInstallFunction(prototype, "getUTCSeconds",
|
| + Builtins::kDatePrototypeGetUTCSeconds, 0, true);
|
| SimpleInstallFunction(prototype, "valueOf", Builtins::kDatePrototypeValueOf,
|
| 0, false);
|
|
|
|
|