From 997c3267f6e55e7342e1dfb10775a14d9490dac6 Mon Sep 17 00:00:00 2001 From: Igor Bukanov Date: Sun, 8 Nov 2009 21:44:53 +0100 Subject: [PATCH] bug 527027 - fixing date_makeDate regression. r=brendan --- js/src/jsdate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsdate.cpp b/js/src/jsdate.cpp index 59de433345f..b5347e228b3 100644 --- a/js/src/jsdate.cpp +++ b/js/src/jsdate.cpp @@ -1691,7 +1691,7 @@ date_makeDate(JSContext *cx, uintN maxargs, JSBool local, uintN argc, jsval *vp) /* see complaint about ECMA in date_MakeTime */ if (argc == 0) { - SetDateToNaN(cx, obj); + SetDateToNaN(cx, obj, vp); return true; } if (argc > maxargs)