mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-29 13:29:28 +00:00
Do not print "metadata" twice while printing MDString.
This fixes unittest failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76764 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6dba7669e0
commit
66a9d6702f
@ -1133,8 +1133,6 @@ static void WriteAsOperandInternal(raw_ostream &Out, const Value *V,
|
||||
}
|
||||
|
||||
if (const MDString *MDS = dyn_cast<MDString>(V)) {
|
||||
TypePrinter.print(MDS->getType(), Out);
|
||||
Out << ' ';
|
||||
Out << "!\"";
|
||||
PrintEscapedString(MDS->begin(), MDS->size(), Out);
|
||||
Out << '"';
|
||||
|
Loading…
Reference in New Issue
Block a user