diff options
| author | Dan Gohman <gohman@apple.com> | 2009-03-23 15:57:19 +0000 | 
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-03-23 15:57:19 +0000 | 
| commit | 4f2fea1a21f73934c3060e744cd1a5bb94c79be3 (patch) | |
| tree | efd940ae58b3dcb0ddf09793ae1c3eb625ec8660 /llvm/lib/Transforms | |
| parent | 7135a9d16600ee00486d2a424e17e0fac7991202 (diff) | |
| download | bcm5719-llvm-4f2fea1a21f73934c3060e744cd1a5bb94c79be3.tar.gz bcm5719-llvm-4f2fea1a21f73934c3060e744cd1a5bb94c79be3.zip | |
Now that errs() is properly non-buffered, there's no need to
explicitly flush it.
llvm-svn: 67526
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Utils/LowerSwitch.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/llvm/lib/Transforms/Utils/LowerSwitch.cpp b/llvm/lib/Transforms/Utils/LowerSwitch.cpp index a7b1efc794f..1da59360fc2 100644 --- a/llvm/lib/Transforms/Utils/LowerSwitch.cpp +++ b/llvm/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); | 

