mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
fix printing the alignment directive
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
14b0529532
commit
9fad0b9974
@ -1173,7 +1173,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
||||
writeOperand(AI->getArraySize(), true);
|
||||
}
|
||||
if (AI->getAlignment()) {
|
||||
Out << ", " << AI->getAlignment();
|
||||
Out << ", align " << AI->getAlignment();
|
||||
}
|
||||
} else if (isa<CastInst>(I)) {
|
||||
if (Operand) writeOperand(Operand, true); // Work with broken code
|
||||
|
Loading…
Reference in New Issue
Block a user