diff options
| author | Dylan McKay <me@dylanmckay.io> | 2019-06-28 08:35:21 +0000 |
|---|---|---|
| committer | Dylan McKay <me@dylanmckay.io> | 2019-06-28 08:35:21 +0000 |
| commit | 2bc48f503a13fa85e816c017e9ed647282d156cd (patch) | |
| tree | 8e9b4078d2b07f143adad7d6074c808b2cede694 /llvm/lib/Target | |
| parent | fc4102417b171357585d7fa786d0020bb60efab1 (diff) | |
| download | bcm5719-llvm-2bc48f503a13fa85e816c017e9ed647282d156cd.tar.gz bcm5719-llvm-2bc48f503a13fa85e816c017e9ed647282d156cd.zip | |
[AVR] Don't look for the TargetFrameLowering in the FrameLowering implementation
c.f. r364349
llvm-svn: 364632
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/AVR/AVRFrameLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/AVRFrameLowering.cpp b/llvm/lib/Target/AVR/AVRFrameLowering.cpp index b1b1fd14380..5e91bb8632c 100644 --- a/llvm/lib/Target/AVR/AVRFrameLowering.cpp +++ b/llvm/lib/Target/AVR/AVRFrameLowering.cpp @@ -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); |

