X86FrameLowering.cpp: Fixup. Sorry for the breakage.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 18 Feb 2013 23:15:21 +0000 (23:15 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 18 Feb 2013 23:15:21 +0000 (23:15 +0000)
llvm-svn: 175467

llvm/lib/Target/X86/X86FrameLowering.cpp

index a52c4d9..c98c80d 100644 (file)
@@ -1644,7 +1644,7 @@ void X86FrameLowering::adjustForHiPEPrologue(MachineFunction &MF) const {
   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'