mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Move MaximumAlignment to be a member of the Value class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1154,7 +1154,7 @@ bool LLParser::ParseOptionalAlignment(unsigned &Alignment) {
|
||||
if (ParseUInt32(Alignment)) return true;
|
||||
if (!isPowerOf2_32(Alignment))
|
||||
return Error(AlignLoc, "alignment is not a power of two");
|
||||
if (Alignment > MaximumAlignment)
|
||||
if (Alignment > Value::MaximumAlignment)
|
||||
return Error(AlignLoc, "huge alignments are not supported yet");
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user