зеркало из https://github.com/mozilla/gecko-dev.git
Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett,luke
--HG-- extra : rebase_source : 9acbb597415c4bf08c978c480262ce5e5dd9c452
This commit is contained in:
Родитель
801fbf10c1
Коммит
60d1f509ed
|
@ -1276,6 +1276,8 @@ class MOZ_STACK_CLASS ModuleCompiler
|
|||
}
|
||||
|
||||
bool failName(ParseNode *pn, const char *fmt, PropertyName *name) {
|
||||
// This function is invoked without the caller properly rooting its locals.
|
||||
gc::AutoSuppressGC suppress(cx_);
|
||||
JSAutoByteString bytes;
|
||||
if (AtomToPrintableString(cx_, name, &bytes))
|
||||
failf(pn, fmt, bytes.ptr());
|
||||
|
|
Загрузка…
Ссылка в новой задаче