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 | 302bdb586f860767befca695010b562e71fdd3ad (patch) | |
tree | 9297ea7362e6589cf4826228c485a224cc67a219 /llvm/lib/VMCore/AsmWriter.cpp | |
parent | 0db2f2c6893eebf8a4a1547d7f03313f470bef78 (diff) | |
download | bcm5719-llvm-302bdb586f860767befca695010b562e71fdd3ad.tar.gz bcm5719-llvm-302bdb586f860767befca695010b562e71fdd3ad.zip |
AsmWriter should not print LLVM constant in comment. Assembler won't like
multi-line comments.
llvm-svn: 26461
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
-rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index a3ab22c04c9..6b644219e13 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/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 { |