mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
3e16a0d1dd
commit
0bf4aef42a
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user