зеркало из https://github.com/mozilla/gecko-dev.git
if throwing, cx->exception is a valid root
This commit is contained in:
Родитель
cb0abd7566
Коммит
a6a11ab6e9
|
@ -757,6 +757,10 @@ restart:
|
|||
GC_MARK(rt, acx->newborn[GCX_OBJECT], "newborn object", NULL);
|
||||
GC_MARK(rt, acx->newborn[GCX_STRING], "newborn string", NULL);
|
||||
GC_MARK(rt, acx->newborn[GCX_DOUBLE], "newborn double", NULL);
|
||||
#if JS_HAS_EXCEPTIONS
|
||||
if (acx->throwing)
|
||||
GC_MARK(rt, acx->exception, "exception", NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Sweep phase. Mark in tempPool for release at label out:. */
|
||||
|
|
Загрузка…
Ссылка в новой задаче