[AVR] Don't look for the TargetFrameLowering in the FrameLowering implementation

c.f. r364349

llvm-svn: 364632
This commit is contained in:
Dylan McKay 2019-06-28 08:35:21 +00:00
parent fc4102417b
commit 2bc48f503a
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ MachineBasicBlock::iterator AVRFrameLowering::eliminateCallFramePseudoInstr(
// For adjcallstackdown we convert it into an 'adiw reg, <amt>' handling
// the read and write of SP in I/O space.
if (Amount != 0) {
assert(TFI.getStackAlignment() == 1 && "Unsupported stack alignment");
assert(getStackAlignment() == 1 && "Unsupported stack alignment");
if (Opcode == TII.getCallFrameSetupOpcode()) {
fixStackStores(MBB, MI, TII, true);