Add a space to the PHI node output code to make it look nicer

llvm-svn: 53
This commit is contained in:
Chris Lattner 2001-06-21 05:29:56 +00:00
parent b20a15d334
commit 4b94e23bd0
1 changed files with 2 additions and 2 deletions

View File

@ -182,10 +182,10 @@ bool AssemblyWriter::processInstruction(const Instruction *I) {
Out << " " << Operand->getType();
Out << " ["; writeOperand(Operand, false); Out << ",";
writeOperand(I->getOperand(1), false); Out << "]";
writeOperand(I->getOperand(1), false); Out << " ]";
for (unsigned op = 2; (Operand = I->getOperand(op)); op += 2) {
Out << ", ["; writeOperand(Operand, false); Out << ",";
writeOperand(I->getOperand(op+1), false); Out << "]";
writeOperand(I->getOperand(op+1), false); Out << " ]";
}
} else if (I->getInstType() == Instruction::Ret && !Operand) {
Out << " void";