summaryrefslogtreecommitdiff
path: root/deps/v8/src/date.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-01-31 13:19:50 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-01-31 13:19:50 -0800
commit0634e3a8bc3f7d6d022a13f25638eb394fd9a11b (patch)
tree25ec87c266116f5167714cfb535442df2919f423 /deps/v8/src/date.js
parentc5017851128dafc7427e24e7c07076672b53acec (diff)
downloadnode-new-0634e3a8bc3f7d6d022a13f25638eb394fd9a11b.tar.gz
Upgrade V8 to 3.1.0
Diffstat (limited to 'deps/v8/src/date.js')
-rw-r--r--deps/v8/src/date.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/date.js b/deps/v8/src/date.js
index 9eb607c7e5..1fb4897921 100644
--- a/deps/v8/src/date.js
+++ b/deps/v8/src/date.js
@@ -605,7 +605,7 @@ function DateToTimeString() {
// ECMA 262 - 15.9.5.5
function DateToLocaleString() {
- return DateToString.call(this);
+ return %_CallFunction(this, DateToString);
}
@@ -973,7 +973,7 @@ function DateSetYear(year) {
// do that either. Instead, we create a new function whose name
// property will return toGMTString.
function DateToGMTString() {
- return DateToUTCString.call(this);
+ return %_CallFunction(this, DateToUTCString);
}