mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +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:
parent
da956802bd
commit
28d480b316
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user