summaryrefslogtreecommitdiff
path: root/lib/Analysis/RegionInfo.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-07-22 11:12:32 +0000
committerGabor Greif <ggreif@gmail.com>2010-07-22 11:12:32 +0000
commit11aa60d05ac3a26a547022f574fa09dfeec2e0cc (patch)
tree12a68f581fc51348b2e89eefe6f4a4d6a89037dc /lib/Analysis/RegionInfo.cpp
parent3d8586eb6384f22984e8c519ea9742eac68c9724 (diff)
downloadllvm-11aa60d05ac3a26a547022f574fa09dfeec2e0cc.tar.gz
llvm-11aa60d05ac3a26a547022f574fa09dfeec2e0cc.tar.bz2
llvm-11aa60d05ac3a26a547022f574fa09dfeec2e0cc.tar.xz
use -> instead of (*).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionInfo.cpp')
-rw-r--r--lib/Analysis/RegionInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/RegionInfo.cpp b/lib/Analysis/RegionInfo.cpp
index 4c07712abc..ac0d47c22d 100644
--- a/lib/Analysis/RegionInfo.cpp
+++ b/lib/Analysis/RegionInfo.cpp
@@ -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();