Print a space between the comment character and the text.

llvm-svn: 90621
This commit is contained in:
Dan Gohman 2009-12-04 23:19:55 +00:00
parent 74356efae9
commit e6d5445dc1
1 changed files with 6 additions and 4 deletions

View File

@ -1863,7 +1863,7 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const {
MMO = *MI.memoperands_begin();
if (Newline) O << '\n';
O.PadToColumn(MAI->getCommentColumn());
O << MAI->getCommentString() << MMO->getSize() << "-byte Reload";
O << MAI->getCommentString() << ' ' << MMO->getSize() << "-byte Reload";
Newline = true;
}
}
@ -1871,7 +1871,8 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const {
if (FrameInfo->isSpillSlotObjectIndex(FI)) {
if (Newline) O << '\n';
O.PadToColumn(MAI->getCommentColumn());
O << MAI->getCommentString() << MMO->getSize() << "-byte Folded Reload";
O << MAI->getCommentString() << ' '
<< MMO->getSize() << "-byte Folded Reload";
Newline = true;
}
}
@ -1880,7 +1881,7 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const {
MMO = *MI.memoperands_begin();
if (Newline) O << '\n';
O.PadToColumn(MAI->getCommentColumn());
O << MAI->getCommentString() << MMO->getSize() << "-byte Spill";
O << MAI->getCommentString() << ' ' << MMO->getSize() << "-byte Spill";
Newline = true;
}
}
@ -1888,7 +1889,8 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const {
if (FrameInfo->isSpillSlotObjectIndex(FI)) {
if (Newline) O << '\n';
O.PadToColumn(MAI->getCommentColumn());
O << MAI->getCommentString() << MMO->getSize() << "-byte Folded Spill";
O << MAI->getCommentString() << ' '
<< MMO->getSize() << "-byte Folded Spill";
Newline = true;
}
}