diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-03-01 22:00:59 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-03-01 22:00:59 +0000 |
commit | 7cfdd01869c1f8f32d9bcac32cf1a6dde7c88b28 (patch) | |
tree | 3421392de39398a12412f6d85bdb61584ce52bd4 /lib | |
parent | 1ec05d1bb4e8903321caf29f57a805952f5b8b86 (diff) |
AsmWriter should not print LLVM constant in comment. Assembler won't like
multi-line comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26461 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index a3ab22c04c..6b644219e1 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -26,7 +26,6 @@ #include "llvm/Instructions.h" #include "llvm/Module.h" #include "llvm/SymbolTable.h" -#include "llvm/Assembly/Writer.h" #include "llvm/Support/CFG.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/STLExtras.h" @@ -1312,9 +1311,6 @@ void Constant::print(std::ostream &o) const { if (this == 0) { o << "<null> constant value\n"; return; } o << ' ' << getType()->getDescription() << ' '; - - std::map<const Type *, std::string> TypeTable; - WriteConstantInt(o, this, false, TypeTable, 0); } void Type::print(std::ostream &o) const { |