bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff

This commit is contained in:
Igor Bukanov
2009-09-05 19:59:11 +04:00
parent ccf5eb127e
commit 812b45fb3e
23 changed files with 196 additions and 251 deletions

View File

@@ -843,7 +843,7 @@ date_parseISOString(JSString *str, jsdouble *result)
done:
if (year > 275943 // ceil(1e8/365) + 1970
|| (month == 0 || month > 12)
|| (day == 0 || day > DaysInMonth(year,month))
|| (day == 0 || day > size_t(DaysInMonth(year,month)))
|| hour > 24
|| ((hour == 24) && (min > 0 || sec > 0))
|| min > 59