llvm.org GIT mirror llvm / 733dbc6
Added LLVM_DUMP_METHOD attributes for MatchableInfo::dump(). Defined it only if dump is enabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303229 91177308-0d34-0410-b5e6-96231b3b80d8 Galina Kistanova 3 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
762762
763763 } // end anonymous namespace
764764
765 void MatchableInfo::dump() const {
765 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
766 LLVM_DUMP_METHOD void MatchableInfo::dump() const {
766767 errs() << TheDef->getName() << " -- " << "flattened:\"" << AsmString <<"\"\n";
767768
768769 for (unsigned i = 0, e = AsmOperands.size(); i != e; ++i) {
771772 errs() << '\"' << Op.Token << "\"\n";
772773 }
773774 }
775 #endif
774776
775777 static std::pair
776778 parseTwoOperandConstraint(StringRef S, ArrayRef Loc) {