mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
AsmWriter should not print LLVM constant in comment. Assembler won't like
multi-line comments. llvm-svn: 26461
This commit is contained in:
parent
d45d3b68b0
commit
25ecfb9411
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user