From 9d7c53af30363038a0acb594201cdb1282510f7b Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 18 Feb 2013 23:15:21 +0000 Subject: [PATCH] X86FrameLowering.cpp: Fixup. Sorry for the breakage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175467 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86FrameLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp index a52c4d93e8d..c98c80db1a0 100644 --- a/lib/Target/X86/X86FrameLowering.cpp +++ b/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' -- 2.34.1