mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-26 01:38:43 +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;
|
bool NotDone;
|
||||||
do {
|
do {
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
if (DebugFlag && !Idxs.empty()) {
|
DEBUG(if (!Idxs.empty()) {
|
||||||
errs() << Orig->getOperator()->getName() << ": Idxs = [ ";
|
errs() << Orig->getOperator()->getName() << ": Idxs = [ ";
|
||||||
for (unsigned i = 0; i < Idxs.size(); ++i) {
|
for (unsigned i = 0; i < Idxs.size(); ++i) {
|
||||||
errs() << Idxs[i] << " ";
|
errs() << Idxs[i] << " ";
|
||||||
}
|
}
|
||||||
errs() << "]\n";
|
errs() << "]\n";
|
||||||
}
|
});
|
||||||
#endif
|
#endif
|
||||||
// Create the variant and add it to the output list.
|
// Create the variant and add it to the output list.
|
||||||
std::vector<TreePatternNode*> NewChildren;
|
std::vector<TreePatternNode*> NewChildren;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user