diff lib/Transforms/ObjCARC/DependencyAnalysis.cpp @ 83:60c9769439b8

LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Wed, 18 Feb 2015 14:55:36 +0900
parents 54457678186b
children afa8332a0e37
line wrap: on
line diff
--- a/lib/Transforms/ObjCARC/DependencyAnalysis.cpp	Mon Sep 08 22:07:30 2014 +0900
+++ b/lib/Transforms/ObjCARC/DependencyAnalysis.cpp	Wed Feb 18 14:55:36 2015 +0900
@@ -229,7 +229,7 @@
           // Add the predecessors to the worklist.
           do {
             BasicBlock *PredBB = *PI;
-            if (Visited.insert(PredBB))
+            if (Visited.insert(PredBB).second)
               Worklist.push_back(std::make_pair(PredBB, PredBB->end()));
           } while (++PI != PE);
         break;