mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 10:17:37 +00:00
Don't prepend a space character for constants in Value::print.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56920 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
929d3eb171
commit
10b49489bf
@ -1809,7 +1809,7 @@ void Value::print(raw_ostream &OS, AssemblyAnnotationWriter *AAW) const {
|
||||
AssemblyWriter W(OS, SlotTable, GV->getParent(), 0);
|
||||
W.write(GV);
|
||||
} else if (const Constant *C = dyn_cast<Constant>(this)) {
|
||||
OS << ' ' << C->getType()->getDescription() << ' ';
|
||||
OS << C->getType()->getDescription() << ' ';
|
||||
std::map<const Type *, std::string> TypeTable;
|
||||
WriteConstantInt(OS, C, TypeTable, 0);
|
||||
} else if (const Argument *A = dyn_cast<Argument>(this)) {
|
||||
|
Loading…
Reference in New Issue
Block a user