aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/LowerSwitch.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-23 15:57:19 +0000
committerDan Gohman <gohman@apple.com>2009-03-23 15:57:19 +0000
commitf871ccb853a2ccbe8675c912330c041b318be8cd (patch)
treee73e6ef06693e1ba12f7d53d8648606602c5b10e /lib/Transforms/Utils/LowerSwitch.cpp
parentf49f0cdb48a9e6525b44f8f4b210558df106ff4e (diff)
Now that errs() is properly non-buffered, there's no need to
explicitly flush it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LowerSwitch.cpp')
-rw-r--r--lib/Transforms/Utils/LowerSwitch.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp
index a7b1efc794..1da59360fc 100644
--- a/lib/Transforms/Utils/LowerSwitch.cpp
+++ b/lib/Transforms/Utils/LowerSwitch.cpp
@@ -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);