summaryrefslogtreecommitdiff
path: root/deps/v8/src/date.js
diff options
context:
space:
mode:
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);
}