Simplify this code and avoid an extra space character in the output.

llvm-svn: 85568
This commit is contained in:
Dan Gohman 2009-10-30 02:01:10 +00:00
parent 958c9f8524
commit 43c574068b
1 changed files with 1 additions and 2 deletions

View File

@ -1859,8 +1859,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
// Special case indirectbr instruction to get formatting nice and correct.
Out << ' ';
writeOperand(Operand, true);
Out << ", ";
Out << " [";
Out << ", [";
for (unsigned i = 1, e = I.getNumOperands(); i != e; ++i) {
if (i != 1)