use cascading operator-> feature
[oota-llvm.git] / lib / Analysis / RegionInfo.cpp
index ac0d47c22d436cb285d90ca41339b942fedec19d..eb1ea88b6e4d6c65f4d9c49204dc70d3ff30e94a 100644 (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);
   }
 }