From: NAKAMURA Takumi Date: Mon, 18 Feb 2013 23:15:21 +0000 (+0000) Subject: X86FrameLowering.cpp: Fixup. Sorry for the breakage. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a8002f61dbac6adeeb76055a659da1d8595a8e0;p=platform%2Fupstream%2Fllvm.git X86FrameLowering.cpp: Fixup. Sorry for the breakage. llvm-svn: 175467 --- diff --git a/llvm/lib/Target/X86/X86FrameLowering.cpp b/llvm/lib/Target/X86/X86FrameLowering.cpp index a52c4d9..c98c80d 100644 --- a/llvm/lib/Target/X86/X86FrameLowering.cpp +++ b/llvm/lib/Target/X86/X86FrameLowering.cpp @@ -1644,7 +1644,7 @@ void X86FrameLowering::adjustForHiPEPrologue(MachineFunction &MF) const { unsigned MaxStack = MFI->getStackSize() + CallerStkArity * SlotSize + SlotSize; - assert(getTarget().getSubtarget()->ST->isTargetLinux() && + assert(MF.getTarget().getSubtarget().isTargetLinux() && "HiPE prologue is only supported on Linux operating systems."); // Compute the largest caller's frame that is needed to fit the callees'