X86FrameLowering.cpp: Fixup. Sorry for the breakage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175467 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp
index a52c4d9..c98c80d 100644
--- a/lib/Target/X86/X86FrameLowering.cpp
+++ b/lib/Target/X86/X86FrameLowering.cpp
@@ -1644,7 +1644,7 @@
unsigned MaxStack =
MFI->getStackSize() + CallerStkArity * SlotSize + SlotSize;
- assert(getTarget().getSubtarget<X86Subtarget>()->ST->isTargetLinux() &&
+ assert(MF.getTarget().getSubtarget<X86Subtarget>().isTargetLinux() &&
"HiPE prologue is only supported on Linux operating systems.");
// Compute the largest caller's frame that is needed to fit the callees'