mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +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);
|
writeOperand(AI->getArraySize(), true);
|
||||||
}
|
}
|
||||||
if (AI->getAlignment()) {
|
if (AI->getAlignment()) {
|
||||||
Out << ", " << AI->getAlignment();
|
Out << ", align " << AI->getAlignment();
|
||||||
}
|
}
|
||||||
} else if (isa<CastInst>(I)) {
|
} else if (isa<CastInst>(I)) {
|
||||||
if (Operand) writeOperand(Operand, true); // Work with broken code
|
if (Operand) writeOperand(Operand, true); // Work with broken code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user