mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Bug 1493900.
DiD fix.
This commit is contained in:
parent
faa1c5c0af
commit
3757eafab3
1 changed files with 12 additions and 3 deletions
|
|
@ -1843,10 +1843,19 @@ BacktrackingAllocator::resolveControlFlow()
|
|||
LiveRange* from = vreg(input).rangeFor(exitOf(predecessor), /* preferRegister = */ true);
|
||||
MOZ_ASSERT(from);
|
||||
|
||||
if (!alloc().ensureBallast())
|
||||
return false;
|
||||
if (!moveAtExit(predecessor, from, to, def->type()))
|
||||
if (!alloc().ensureBallast()) {
|
||||
return false;
|
||||
}
|
||||
if (mSuccessor->numPredecessors() > 1) {
|
||||
MOZ_ASSERT(predecessor->mir()->numSuccessors() == 1);
|
||||
if (!moveAtExit(predecessor, from, to, def->type())) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!moveAtEntry(successor, from, to, def->type())) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue