[AArch64] Fix unused variable [NFC]

llvm-svn: 352940
This commit is contained in:
Mandeep Singh Grang 2019-02-01 23:42:34 +00:00
parent 5233fb8f5e
commit dc1e778369
1 changed files with 1 additions and 0 deletions

View File

@ -1554,6 +1554,7 @@ int AArch64FrameLowering::resolveFrameIndexReference(const MachineFunction &MF,
// Funclets access the locals contained in the parent's stack frame
// via the frame pointer, so we have to use the FP in the parent
// function.
(void) Subtarget;
assert(
Subtarget.isCallingConvWin64(MF.getFunction().getCallingConv()) &&
"Funclets should only be present on Win64");