Skip to content
Snippets Groups Projects
Commit cb4c0e49 authored by Sebastian Hengst's avatar Sebastian Hengst
Browse files

Backed out changeset 46d50a87b3b5 (bug 1264948)

parent fa09ca3d
No related branches found
No related tags found
No related merge requests found
......@@ -558,9 +558,7 @@ MBasicBlock::inherit(TempAllocator& alloc, BytecodeAnalysis* analysis, MBasicBlo
if (kind_ == PENDING_LOOP_HEADER) {
size_t i = 0;
for (i = 0; i < info().firstStackSlot(); i++) {
MPhi* phi = MPhi::New(alloc.fallible());
if (!phi)
return false;
MPhi* phi = MPhi::New(alloc);
phi->addInlineInput(pred->getSlot(i));
addPhi(phi);
setSlot(i, phi);
......@@ -580,9 +578,7 @@ MBasicBlock::inherit(TempAllocator& alloc, BytecodeAnalysis* analysis, MBasicBlo
}
for (; i < stackDepth(); i++) {
MPhi* phi = MPhi::New(alloc.fallible());
if (!phi)
return false;
MPhi* phi = MPhi::New(alloc);
phi->addInlineInput(pred->getSlot(i));
addPhi(phi);
setSlot(i, phi);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment