Bug 885176 - Style nits: add braces to if statements with multi-line conditions. r=sstangl

This commit is contained in:
Dan Gohman 2013-06-24 16:34:04 -07:00
Родитель d9c1d46f41
Коммит 9af18d7ba0
2 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -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; ) {