Use the spiffy new getAlignmentFromAttrs function.

llvm-svn: 62039
This commit is contained in:
Nick Lewycky 2009-01-11 17:02:06 +00:00
parent f70b683e89
commit 93787d1262
1 changed files with 1 additions and 1 deletions

View File

@ -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.