Replace get*Alignment() methods with get*Align() equivalents.

Fixes deprecation warning in EXPENSIVE_CHECKS builds.
This commit is contained in:
Simon Pilgrim 2020-03-18 18:25:07 +00:00
parent 9c6458ecf8
commit 746bd860c9
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &MF) {
for (unsigned i = 0, e = MFI.getObjectIndexEnd(); i != e; ++i)
if (!MFI.isDeadObjectIndex(i) &&
MFI.getStackID(i) == TargetStackID::Default)
assert(MFI.getObjectAlignment(i) <= MFI.getMaxAlignment() &&
assert(MFI.getObjectAlign(i) <= MFI.getMaxAlign() &&
"MaxAlignment is invalid");
#endif