diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-22 18:10:23 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-22 18:10:23 +0000 |
commit | 5f5b4f816cfc6c029d2916e0e347342e1c01c6e3 (patch) | |
tree | 5adb16cbd840ed71af9dcf2fdfa690c2aabe9b51 /lib | |
parent | 5ffde1e915dbd3a9aada8ca143ea6566f158e3b1 (diff) | |
download | external_llvm-5f5b4f816cfc6c029d2916e0e347342e1c01c6e3.zip external_llvm-5f5b4f816cfc6c029d2916e0e347342e1c01c6e3.tar.gz external_llvm-5f5b4f816cfc6c029d2916e0e347342e1c01c6e3.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 17d0478..6e84af3 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -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 << '"'; |