Bug 912171 - Static rooting analysis: ignore ~AutoCompartment. r=NPOTB

DONTBUILD

--HG--
extra : rebase_source : 6e29cf2f844b76db662c35d4e4077d82622f48a1
This commit is contained in:
Steve Fink 2013-09-03 12:25:05 -07:00
parent 001354dd20
commit 416a7ac462

View File

@ -138,6 +138,11 @@ var ignoreFunctions = {
"PR_ErrorInstallTable" : true,
"PR_SetThreadPrivate" : true,
"JSObject* js::GetWeakmapKeyDelegate(JSObject*)" : true, // FIXME: mark with AutoAssertNoGC instead
// These are a little overzealous -- these destructors *can* GC if they end
// up wrapping a pending exception. See bug 898815 for the heavyweight fix.
"void js::AutoCompartment::~AutoCompartment(int32)" : true,
"void JSAutoCompartment::~JSAutoCompartment(int32)" : true,
};
function ignoreGCFunction(fun)