Add MIPS Technologies to the vendors in llvm::Triple.
[oota-llvm.git] / lib / Analysis / LoopPass.cpp
index 2c6e6e3ffff3b398c4e8e98c4801304c59178ddf..7bd866e73e10f370100e06ce148f34876deb60b6 100644 (file)
@@ -45,8 +45,10 @@ public:
     for (Loop::block_iterator b = L->block_begin(), be = L->block_end();
          b != be;
          ++b) {
-      assert((*b) != nullptr && "Expecting non-null block");
-      (*b)->print(Out);
+      if (*b)
+        (*b)->print(Out);
+      else
+        Out << "Printing <null> block";
     }
     return false;
   }