use -> instead of (*).
authorGabor Greif <ggreif@gmail.com>
Thu, 22 Jul 2010 11:12:32 +0000 (11:12 +0000)
committerGabor Greif <ggreif@gmail.com>
Thu, 22 Jul 2010 11:12:32 +0000 (11:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109094 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/RegionInfo.cpp

index 4c07712abc493dde30853e9fb56d4f60f759b418..ac0d47c22d436cb285d90ca41339b942fedec19d 100644 (file)
@@ -327,7 +327,7 @@ bool RegionInfo::isRegion(BasicBlock *entry, BasicBlock *exit) const {
   assert(entry && exit && "entry and exit must not be null!");
   typedef DominanceFrontier::DomSetType DST;
 
-  DST *entrySuccs = &(*DF->find(entry)).second;
+  DST *entrySuccs = &DF->find(entry)->second;
 
   // Exit is the header of a loop that contains the entry. In this case,
   // the dominance frontier must only contain the exit.
@@ -340,7 +340,7 @@ bool RegionInfo::isRegion(BasicBlock *entry, BasicBlock *exit) const {
     return true;
   }
 
-  DST *exitSuccs = &(*DF->find(exit)).second;
+  DST *exitSuccs = &DF->find(exit)->second;
 
   // Do not allow edges leaving the region.
   for (DST::iterator SI = entrySuccs->begin(), SE = entrySuccs->end();