зеркало из https://github.com/mozilla/gecko-dev.git
Bug 885176 - Style nits: add braces to if statements with multi-line conditions. r=sstangl
This commit is contained in:
Родитель
d9c1d46f41
Коммит
9af18d7ba0
|
@ -787,8 +787,9 @@ ion::BuildDominatorTree(MIRGraph &graph)
|
|||
block->setDomIndex(index);
|
||||
|
||||
if (!worklist.append(block->immediatelyDominatedBlocksBegin(),
|
||||
block->immediatelyDominatedBlocksEnd()))
|
||||
block->immediatelyDominatedBlocksEnd())) {
|
||||
return false;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
|
||||
|
@ -1358,8 +1359,9 @@ ion::EliminateRedundantChecks(MIRGraph &graph)
|
|||
|
||||
// Add all immediate dominators to the front of the worklist.
|
||||
if (!worklist.append(block->immediatelyDominatedBlocksBegin(),
|
||||
block->immediatelyDominatedBlocksEnd()))
|
||||
block->immediatelyDominatedBlocksEnd())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
for (MDefinitionIterator iter(block); iter; ) {
|
||||
bool eliminated = false;
|
||||
|
|
|
@ -367,8 +367,9 @@ ValueNumberer::eliminateRedundancies()
|
|||
|
||||
// Add all immediate dominators to the front of the worklist.
|
||||
if (!worklist.append(block->immediatelyDominatedBlocksBegin(),
|
||||
block->immediatelyDominatedBlocksEnd()))
|
||||
block->immediatelyDominatedBlocksEnd())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// For each instruction, attempt to look up a dominating definition.
|
||||
for (MDefinitionIterator iter(block); iter; ) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче