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:
parent
69858df100
commit
884f32fd12
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user