use cascading operator-> feature

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109104 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Gabor Greif
2010-07-22 13:49:27 +00:00
parent 96f1d8ebdd
commit f95eef695d

View File

@@ -478,7 +478,7 @@ void RegionInfo::scanForRegions(Function &F, BBtoBBMap *ShortCut) {
// over the small regions.
for (po_iterator<DomTreeNode*> FI = po_begin(N), FE = po_end(N); FI != FE;
++FI) {
findRegionsWithEntry((*FI)->getBlock(), ShortCut);
findRegionsWithEntry(FI->getBlock(), ShortCut);
}
}