зеркало из https://github.com/mozilla/gecko-dev.git
Backout 493d5d59b229 for bustage on a CLOSED TREE.
This commit is contained in:
Родитель
138f7551c4
Коммит
04b45ea85d
|
@ -1276,8 +1276,6 @@ 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(name->runtimeFromMainThread());
|
||||
JSAutoByteString bytes;
|
||||
if (AtomToPrintableString(cx_, name, &bytes))
|
||||
failf(pn, fmt, bytes.ptr());
|
||||
|
|
|
@ -5140,12 +5140,6 @@ AutoMaybeTouchDeadZones::~AutoMaybeTouchDeadZones()
|
|||
runtime->gcManipulatingDeadZones = manipulatingDeadZones;
|
||||
}
|
||||
|
||||
AutoSuppressGC::AutoSuppressGC(JSRuntime *rt)
|
||||
: suppressGC_(rt->mainThread.suppressGC)
|
||||
{
|
||||
suppressGC_++;
|
||||
}
|
||||
|
||||
AutoSuppressGC::AutoSuppressGC(JSContext *cx)
|
||||
: suppressGC_(cx->runtime()->mainThread.suppressGC)
|
||||
{
|
||||
|
|
|
@ -1400,7 +1400,6 @@ class AutoSuppressGC
|
|||
int32_t &suppressGC_;
|
||||
|
||||
public:
|
||||
AutoSuppressGC(JSRuntime *rt);
|
||||
AutoSuppressGC(JSContext *cx);
|
||||
AutoSuppressGC(JSCompartment *comp);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче