Make sure debug code is not evaluated in non-debug case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34856 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-03-02 23:15:21 +00:00
parent f1bed4c720
commit e8391e039e

View File

@ -127,8 +127,9 @@ BasicBlock* LowerSwitch::switchConvert(CaseItr Begin, CaseItr End,
DOUT << "RHS: " << RHS << "\n";
Case& Pivot = *(Begin + Mid);
DOUT << "Pivot ==> "
<< cast<ConstantInt>(Pivot.first)->getValue().toStringSigned(10) << "\n";
DEBUG( DOUT << "Pivot ==> "
<< cast<ConstantInt>(Pivot.first)->getValue().toStringSigned(10)
<< "\n");
BasicBlock* LBranch = switchConvert(LHS.begin(), LHS.end(), Val,
OrigBlock, Default);