зеркало из https://github.com/mozilla/gecko-dev.git
Compilation fix for bug 523947.
This commit is contained in:
Родитель
fd9b721d41
Коммит
aa8224bc49
|
@ -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++);
|
||||
|
|
Загрузка…
Ссылка в новой задаче