Compilation fix for bug 523947.

This commit is contained in:
Andreas Gal 2009-10-28 17:09:48 -07:00
Родитель fd9b721d41
Коммит aa8224bc49
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -1701,8 +1701,10 @@ js_NewDoubleInRootedValue(JSContext *cx, jsdouble d, jsval *vp)
JSGCThing *thing = JS_THREAD_DATA(cx)->gcFreeLists.doubles;
if (!thing) {
#ifdef JS_TRACER
if (JS_TRACE_MONITOR(cx).useReservedObjects)
return false;
#endif
thing = RefillDoubleFreeList(cx);
if (!thing) {
METER(astats->fail++);