1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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

llvm-svn: 34856
This commit is contained in:
Reid Spencer 2007-03-02 23:15:21 +00:00
parent 69858df100
commit 884f32fd12

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);