mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
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:
parent
f1bed4c720
commit
e8391e039e
@ -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