mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 01:15:32 +00:00
fix indentation and 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108460 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
83be4519af
commit
a955853961
@ -1081,13 +1081,14 @@ bool AsmParser::ParseDirectiveAlign(bool IsPow2, unsigned ValueSize) {
|
|||||||
bool UseCodeAlign = false;
|
bool UseCodeAlign = false;
|
||||||
if (const MCSectionMachO *S = dyn_cast<MCSectionMachO>(
|
if (const MCSectionMachO *S = dyn_cast<MCSectionMachO>(
|
||||||
getStreamer().getCurrentSection()))
|
getStreamer().getCurrentSection()))
|
||||||
UseCodeAlign = S->hasAttribute(MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS);
|
UseCodeAlign = S->hasAttribute(MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS);
|
||||||
if ((!HasFillExpr || Lexer.getMAI().getTextAlignFillValue() == FillExpr) &&
|
if ((!HasFillExpr || Lexer.getMAI().getTextAlignFillValue() == FillExpr) &&
|
||||||
ValueSize == 1 && UseCodeAlign) {
|
ValueSize == 1 && UseCodeAlign) {
|
||||||
getStreamer().EmitCodeAlignment(Alignment, MaxBytesToFill);
|
getStreamer().EmitCodeAlignment(Alignment, MaxBytesToFill);
|
||||||
} else {
|
} else {
|
||||||
// FIXME: Target specific behavior about how the "extra" bytes are filled.
|
// FIXME: Target specific behavior about how the "extra" bytes are filled.
|
||||||
getStreamer().EmitValueToAlignment(Alignment, FillExpr, ValueSize, MaxBytesToFill);
|
getStreamer().EmitValueToAlignment(Alignment, FillExpr, ValueSize,
|
||||||
|
MaxBytesToFill);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user