14 Dec
2014
14 Dec
'14
4:53 p.m.
On 12/14/14 00:18, Alistair Leslie-Hughes wrote:
case INVOKE_PROPERTYGET: + { + DateInstance *date; + + if(!(date = date_this(jsthis))) + return throw_type_error(ctx, JS_E_DATE_EXPECTED, NULL);
It's guaranteed that jsthis is of DataInstance type in case of *_value functions, so there is no need to check that in runtime. You may simply cast it here. Jacek
4106
Age (days ago)
4106
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jacek Caban