Backed out changeset ceb7ec4fd334 (bug 1264948)

This commit is contained in:
Sebastian Hengst 2016-06-15 19:19:04 +02:00
Родитель 03411b6526
Коммит 44e3577953
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -1720,12 +1720,6 @@ RegExpCompiler::Assemble(JSContext* cx,
macro_assembler_ = assembler;
macro_assembler_->set_slow_safe(false);
// The LifoAlloc used by the regexp compiler is infallible and is currently
// expected to crash on OOM. Thus we have to disable the assertions made to
// prevent us from allocating any new chunk in the LifoAlloc. This is needed
// because the jit::MacroAssembler turns these assertions on by default.
LifoAlloc::AutoFallibleScope fallibleAllocator(alloc());
jit::Label fail;
macro_assembler_->PushBacktrack(&fail);
Trace new_trace;