mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-19 09:57:42 +00:00
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
This commit is contained in:
parent
1ec05d1bb4
commit
7cfdd01869
@ -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