I will save before I commit.
[oota-llvm.git] / tools / llvm-objdump / llvm-objdump.cpp
index 99549266c24179027315487187f92eb8a82e6ffc..b1c74d298b3694cce30e630705bd2f380197d13d 100644 (file)
@@ -286,7 +286,7 @@ static void DisassembleInput(const StringRef &Filename) {
           // FIXME: Slow.
           for (MCFunction::iterator pi = f.begin(), pe = f.end(); pi != pe;
                ++pi)
-            for (pi->second->contains(&i->second)) {
+            if (pi->second.contains(&i->second)) {
               hasPreds = true;
               break;
             }