aboutsummaryrefslogtreecommitdiff
path: root/src/relooper
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-23 13:44:52 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-23 13:44:52 -0700
commitb8aa8067c6c8aecba50bca190d6f6fbfb93d1f86 (patch)
tree7f25c6d3b52168ff64a867db40c44590a6d59534 /src/relooper
parentf99012f271c056ddc171f6a4ec011ad31ad936cd (diff)
remove unneeded check from relooper1.3.3
Diffstat (limited to 'src/relooper')
-rw-r--r--src/relooper/Relooper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/relooper/Relooper.cpp b/src/relooper/Relooper.cpp
index ae393de3..61daed79 100644
--- a/src/relooper/Relooper.cpp
+++ b/src/relooper/Relooper.cpp
@@ -499,8 +499,7 @@ void Relooper::Calculate(Block *Entry) {
Block *Curr = *iter;
for (BlockBranchMap::iterator iter = Curr->BranchesOut.begin(); iter != Curr->BranchesOut.end(); iter++) {
Block *Possible = iter->first;
- if (InnerBlocks.find(Possible) == InnerBlocks.end() &&
- NextEntries.find(Possible) == NextEntries.find(Possible)) {
+ if (InnerBlocks.find(Possible) == InnerBlocks.end()) {
NextEntries.insert(Possible);
}
}