Bug 1269729 - Handle another OOM case on ARM. (r=jolesen) a=ritu

This commit is contained in:
Eric Faust 2016-05-04 15:54:43 -07:00
parent e5aba481d4
commit 0f17dd7674

View File

@ -1123,7 +1123,7 @@ CodeGeneratorARM::emitTableSwitchDispatch(MTableSwitch* mir, Register index, Reg
for (int32_t i = 0; i < cases; i++) {
CodeLabel cl;
masm.writeCodePointer(cl.patchAt());
ool->addCodeLabel(cl);
masm.propagateOOM(ool->addCodeLabel(cl));
}
addOutOfLineCode(ool, mir);
}