зеркало из https://github.com/mozilla/pjs.git
Protect the number from GC, even if it was originally a number. bug 375976, r=crowder
This commit is contained in:
Родитель
74fdec4c1d
Коммит
98acb55839
|
@ -3588,8 +3588,8 @@ interrupt:
|
|||
ok = js_NewNumberValue(cx, d, &rtmp); \
|
||||
if (!ok) \
|
||||
goto out; \
|
||||
*vp = rtmp; \
|
||||
} \
|
||||
*vp = rtmp; \
|
||||
(cs->format & JOF_INC) ? d++ : d--; \
|
||||
ok = js_NewNumberValue(cx, d, &rval); \
|
||||
} else { \
|
||||
|
|
Загрузка…
Ссылка в новой задаче