Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0255ae8

Browse files
committed
AsmMatcher: Use getAsmInfo()
1 parent e878b7e commit 0255ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/AsmMatcherEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3725,7 +3725,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
37253725
OS << " if (ActualIdx < Operands.size())\n";
37263726
OS << " DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \" (\";\n";
37273727
OS << " Operands[ActualIdx]->print(dbgs(), "
3728-
"MCAsmInfo()); dbgs() << "
3728+
"*getContext().getAsmInfo()); dbgs() << "
37293729
"\"): \");\n";
37303730
OS << " else\n";
37313731
OS << " DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \": \");\n";

0 commit comments

Comments
 (0)