Now that errs() is properly non-buffered, there's no need to
[oota-llvm.git] / lib / Transforms / Utils / LowerSwitch.cpp
index a7b1efc794f5fdbd216a06647a43fb7491dc828d..1da59360fc2beee10b06f6d6dfb8c1193f463f06 100644 (file)
@@ -147,8 +147,7 @@ BasicBlock* LowerSwitch::switchConvert(CaseItr Begin, CaseItr End,
   CaseRange& Pivot = *(Begin + Mid);
   DEBUG(errs() << "Pivot ==> " 
                << cast<ConstantInt>(Pivot.Low)->getValue() << " -"
-               << cast<ConstantInt>(Pivot.High)->getValue() << "\n";
-        errs().flush());
+               << cast<ConstantInt>(Pivot.High)->getValue() << "\n");
 
   BasicBlock* LBranch = switchConvert(LHS.begin(), LHS.end(), Val,
                                       OrigBlock, Default);