mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
use DEBUG instead of DebugFlag directly so that this
respects -debug-only=something-else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97307 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d323fd45e3
commit
aaf5486b82
@ -2318,13 +2318,13 @@ static void CombineChildVariants(TreePatternNode *Orig,
|
||||
bool NotDone;
|
||||
do {
|
||||
#ifndef NDEBUG
|
||||
if (DebugFlag && !Idxs.empty()) {
|
||||
errs() << Orig->getOperator()->getName() << ": Idxs = [ ";
|
||||
for (unsigned i = 0; i < Idxs.size(); ++i) {
|
||||
errs() << Idxs[i] << " ";
|
||||
}
|
||||
errs() << "]\n";
|
||||
}
|
||||
DEBUG(if (!Idxs.empty()) {
|
||||
errs() << Orig->getOperator()->getName() << ": Idxs = [ ";
|
||||
for (unsigned i = 0; i < Idxs.size(); ++i) {
|
||||
errs() << Idxs[i] << " ";
|
||||
}
|
||||
errs() << "]\n";
|
||||
});
|
||||
#endif
|
||||
// Create the variant and add it to the output list.
|
||||
std::vector<TreePatternNode*> NewChildren;
|
||||
|
Loading…
Reference in New Issue
Block a user