diff --git a/js/src/devtools/rootAnalysis/annotations.js b/js/src/devtools/rootAnalysis/annotations.js index 08267463757..530e489bdf3 100644 --- a/js/src/devtools/rootAnalysis/annotations.js +++ b/js/src/devtools/rootAnalysis/annotations.js @@ -165,6 +165,13 @@ var ignoreFunctions = { "void js::AutoCompartment::~AutoCompartment(int32)" : true, "void JSAutoCompartment::~JSAutoCompartment(int32)" : true, + // Bug 948646 - the only thing AutoJSContext's constructor calls + // is an Init() routine whose entire body is covered with an + // AutoAssertNoGC. AutoSafeJSContext is the same thing, just with + // a different value for the 'aSafe' parameter. + "void mozilla::AutoJSContext::AutoJSContext(mozilla::detail::GuardObjectNotifier*)" : true, + "void mozilla::AutoSafeJSContext::~AutoSafeJSContext(int32)" : true, + // And these are workarounds to avoid even more analysis work, // which would sadly still be needed even with bug 898815. "void js::AutoCompartment::AutoCompartment(js::ExclusiveContext*, JSCompartment*)": true,