[llvm-commits] [llvm] r109094 - /llvm/trunk/lib/Analysis/RegionInfo.cpp

Gabor Greif ggreif at gmail.com
Thu Jul 22 04:12:32 PDT 2010


Author: ggreif
Date: Thu Jul 22 06:12:32 2010
New Revision: 109094

URL: http://llvm.org/viewvc/llvm-project?rev=109094&view=rev
Log:
use -> instead of (*).

Modified:
    llvm/trunk/lib/Analysis/RegionInfo.cpp

Modified: llvm/trunk/lib/Analysis/RegionInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/RegionInfo.cpp?rev=109094&r1=109093&r2=109094&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/RegionInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/RegionInfo.cpp Thu Jul 22 06:12:32 2010
@@ -327,7 +327,7 @@
   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 @@
     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();





More information about the llvm-commits mailing list