forked from OSchip/llvm-project
Use the spiffy new getAlignmentFromAttrs function.
llvm-svn: 62039
This commit is contained in:
parent
f70b683e89
commit
93787d1262
|
@ -61,7 +61,7 @@ std::string Attribute::getAsString(Attributes Attrs) {
|
|||
Result += "sspreq ";
|
||||
if (Attrs & Attribute::Alignment) {
|
||||
Result += "align ";
|
||||
Result += utostr(1ull << (((Attrs & Attribute::Alignment)>>16) - 1));
|
||||
Result += utostr(Attribute::getAlignmentFromAttrs(Attrs));
|
||||
Result += " ";
|
||||
}
|
||||
// Trim the trailing space.
|
||||
|
|
Loading…
Reference in New Issue