forked from OSchip/llvm-project
Replace get*Alignment() methods with get*Align() equivalents.
Fixes deprecation warning in EXPENSIVE_CHECKS builds.
This commit is contained in:
parent
9c6458ecf8
commit
746bd860c9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue