Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 8ecaec1c3084d56869695c4ae1ab98128c311e01..b5835071638d529ac6e04cc00d3754c74a96a00f 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1813,7 +1813,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
SimpleInstallFunction(prototype, "setUTCSeconds", |
Builtins::kDatePrototypeSetUTCSeconds, 2, false); |
SimpleInstallFunction(prototype, "valueOf", Builtins::kDatePrototypeValueOf, |
- 0, false); |
+ 0, true); |
SimpleInstallFunction(prototype, "getYear", Builtins::kDatePrototypeGetYear, |
0, true); |
SimpleInstallFunction(prototype, "setYear", Builtins::kDatePrototypeSetYear, |