mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Add a space to the PHI node output code to make it look nicer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -182,10 +182,10 @@ bool AssemblyWriter::processInstruction(const Instruction *I) {
|
|||||||
Out << " " << Operand->getType();
|
Out << " " << Operand->getType();
|
||||||
|
|
||||||
Out << " ["; writeOperand(Operand, false); Out << ",";
|
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) {
|
for (unsigned op = 2; (Operand = I->getOperand(op)); op += 2) {
|
||||||
Out << ", ["; writeOperand(Operand, false); Out << ",";
|
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) {
|
} else if (I->getInstType() == Instruction::Ret && !Operand) {
|
||||||
Out << " void";
|
Out << " void";
|
||||||
|
Reference in New Issue
Block a user