mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 1245152 - Ensure enough ballast space in RangeAnalysis::analyzeLoop. r=h4writer
This commit is contained in:
parent
f72848e7a4
commit
02d8b4524a
@ -1863,6 +1863,8 @@ RangeAnalysis::analyzeLoop(MBasicBlock* header)
|
||||
direction = NegateBranchDirection(direction);
|
||||
MBasicBlock* otherBlock = branch->branchSuccessor(direction);
|
||||
if (!otherBlock->isMarked()) {
|
||||
if (!alloc().ensureBallast())
|
||||
return false;
|
||||
iterationBound =
|
||||
analyzeLoopIterationCount(header, branch, direction);
|
||||
if (iterationBound)
|
||||
|
Loading…
Reference in New Issue
Block a user