aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-07-22 13:49:27 +0000
committerGabor Greif <ggreif@gmail.com>2010-07-22 13:49:27 +0000
commit879d3a0bf07d4921c39593613398e6c7f93d690e (patch)
treec64408e6f69e17342ce82ba3aa21feec29d63e6b /lib/Analysis
parente035519df392f87833b9f18e113129f55d90a7b7 (diff)
downloadexternal_llvm-879d3a0bf07d4921c39593613398e6c7f93d690e.zip
external_llvm-879d3a0bf07d4921c39593613398e6c7f93d690e.tar.gz
external_llvm-879d3a0bf07d4921c39593613398e6c7f93d690e.tar.bz2
use cascading operator-> feature
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/RegionInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/RegionInfo.cpp b/lib/Analysis/RegionInfo.cpp
index ac0d47c..eb1ea88 100644
--- a/lib/Analysis/RegionInfo.cpp
+++ b/lib/Analysis/RegionInfo.cpp
@@ -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);
}
}