зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset b24fc518598d (bug 1209001) for bug-1209001.js failures
This commit is contained in:
Родитель
dfe5915369
Коммит
392ffddb94
|
@ -265,8 +265,6 @@ ModuleObject::isInstance(HandleValue value)
|
|||
ModuleObject::create(ExclusiveContext* cx)
|
||||
{
|
||||
Rooted<ModuleObject*> self(cx, NewBuiltinClassInstance<ModuleObject>(cx, TenuredObject));
|
||||
if (!self)
|
||||
return nullptr;
|
||||
|
||||
IndirectBindingMap* bindings = cx->new_<IndirectBindingMap>();
|
||||
if (!bindings || !bindings->init()) {
|
||||
|
@ -282,9 +280,7 @@ ModuleObject::create(ExclusiveContext* cx)
|
|||
/* static */ void
|
||||
ModuleObject::finalize(js::FreeOp* fop, JSObject* obj)
|
||||
{
|
||||
ModuleObject* self = &obj->as<ModuleObject>();
|
||||
if (!self->getReservedSlot(ImportBindingsSlot).isUndefined())
|
||||
fop->delete_(&self->importBindings());
|
||||
fop->delete_(&obj->as<ModuleObject>().importBindings());
|
||||
}
|
||||
|
||||
ModuleEnvironmentObject*
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
// |jit-test| --no-threads
|
||||
|
||||
load(libdir + 'oomTest.js');
|
||||
oomTest(() => parseModule('import v from "mod";'));
|
Загрузка…
Ссылка в новой задаче