aboutsummaryrefslogtreecommitdiff
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
parentf99012f271c056ddc171f6a4ec011ad31ad936cd (diff)
remove unneeded check from relooper1.3.3
-rw-r--r--src/relooper/Relooper.cpp3
-rw-r--r--tools/shared.py2
2 files changed, 2 insertions, 3 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);
}
}
diff --git a/tools/shared.py b/tools/shared.py
index 49b456f9..33e37b1c 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -181,7 +181,7 @@ def check_node_version():
# we re-check sanity when the settings are changed)
# We also re-check sanity and clear the cache when the version changes
-EMSCRIPTEN_VERSION = '1.3.2'
+EMSCRIPTEN_VERSION = '1.3.3'
def check_sanity(force=False):
try: