Fix indentation.
authorEli Friedman <eli.friedman@gmail.com>
Thu, 21 May 2009 21:08:47 +0000 (21:08 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 21 May 2009 21:08:47 +0000 (21:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72227 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/Dominators.h

index 0bb98ec6a887e7f80a743b00bdf016d011779b7e..b9ac2805c9f09fbf7fd0a0119a6818166c884942 100644 (file)
@@ -249,26 +249,26 @@ protected:
          PE = GraphTraits<Inverse<N> >::child_end(NewBB); PI != PE; ++PI)
       PredBlocks.push_back(*PI);  
 
-      assert(!PredBlocks.empty() && "No predblocks??");
-
-      // The newly inserted basic block will dominate existing basic blocks iff the
-      // PredBlocks dominate all of the non-pred blocks.  If all predblocks dominate
-      // the non-pred blocks, then they all must be the same block!
-      //
-      bool NewBBDominatesNewBBSucc = true;
-      {
-        typename GraphT::NodeType* OnePred = PredBlocks[0];
-        size_t i = 1, e = PredBlocks.size();
-        for (i = 1; !DT.isReachableFromEntry(OnePred); ++i) {
-          assert(i != e && "Didn't find reachable pred?");
-          OnePred = PredBlocks[i];
-        }
+    assert(!PredBlocks.empty() && "No predblocks??");
+
+    // The newly inserted basic block will dominate existing basic blocks iff the
+    // PredBlocks dominate all of the non-pred blocks.  If all predblocks dominate
+    // the non-pred blocks, then they all must be the same block!
+    //
+    bool NewBBDominatesNewBBSucc = true;
+    {
+      typename GraphT::NodeType* OnePred = PredBlocks[0];
+      size_t i = 1, e = PredBlocks.size();
+      for (i = 1; !DT.isReachableFromEntry(OnePred); ++i) {
+        assert(i != e && "Didn't find reachable pred?");
+        OnePred = PredBlocks[i];
+      }
 
-        for (; i != e; ++i)
-          if (PredBlocks[i] != OnePred && DT.isReachableFromEntry(OnePred)) {
-            NewBBDominatesNewBBSucc = false;
-            break;
-          }
+      for (; i != e; ++i)
+        if (PredBlocks[i] != OnePred && DT.isReachableFromEntry(OnePred)) {
+          NewBBDominatesNewBBSucc = false;
+          break;
+        }
 
       if (NewBBDominatesNewBBSucc)
         for (typename GraphTraits<Inverse<N> >::ChildIteratorType PI =
@@ -288,7 +288,7 @@ protected:
       for (typename GraphTraits<Inverse<N> >::ChildIteratorType PI = 
            GraphTraits<Inverse<N> >::child_begin(NewBBSucc),
            E = GraphTraits<Inverse<N> >::child_end(NewBBSucc); PI != E; ++PI)
-         if (*PI != NewBB && !DT.dominates(NewBBSucc, *PI)) {
+        if (*PI != NewBB && !DT.dominates(NewBBSucc, *PI)) {
           NewBBDominatesNewBBSucc = false;
           break;
         }