mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ddc5de4cd6
commit
0f4c988a27
@ -137,12 +137,12 @@ BasicBlock* LowerSwitch::switchConvert(CaseItr Begin, CaseItr End,
|
||||
|
||||
unsigned Mid = Size / 2;
|
||||
std::vector<CaseRange> LHS(Begin, Begin + Mid);
|
||||
DEBUG(errs() << "LHS: " << LHS << "\n");
|
||||
DEBUG(dbgs() << "LHS: " << LHS << "\n");
|
||||
std::vector<CaseRange> RHS(Begin + Mid, End);
|
||||
DEBUG(errs() << "RHS: " << RHS << "\n");
|
||||
DEBUG(dbgs() << "RHS: " << RHS << "\n");
|
||||
|
||||
CaseRange& Pivot = *(Begin + Mid);
|
||||
DEBUG(errs() << "Pivot ==> "
|
||||
DEBUG(dbgs() << "Pivot ==> "
|
||||
<< cast<ConstantInt>(Pivot.Low)->getValue() << " -"
|
||||
<< cast<ConstantInt>(Pivot.High)->getValue() << "\n");
|
||||
|
||||
@ -306,9 +306,9 @@ void LowerSwitch::processSwitchInst(SwitchInst *SI) {
|
||||
CaseVector Cases;
|
||||
unsigned numCmps = Clusterify(Cases, SI);
|
||||
|
||||
DEBUG(errs() << "Clusterify finished. Total clusters: " << Cases.size()
|
||||
DEBUG(dbgs() << "Clusterify finished. Total clusters: " << Cases.size()
|
||||
<< ". Total compares: " << numCmps << "\n");
|
||||
DEBUG(errs() << "Cases: " << Cases << "\n");
|
||||
DEBUG(dbgs() << "Cases: " << Cases << "\n");
|
||||
(void)numCmps;
|
||||
|
||||
BasicBlock* SwitchBlock = switchConvert(Cases.begin(), Cases.end(), Val,
|
||||
|
Loading…
Reference in New Issue
Block a user