[llvm] r175467 - X86FrameLowering.cpp: Fixup. Sorry for the breakage.
NAKAMURA Takumi
geek4civic at gmail.com
Mon Feb 18 15:15:21 PST 2013
Author: chapuni
Date: Mon Feb 18 17:15:21 2013
New Revision: 175467
URL: http://llvm.org/viewvc/llvm-project?rev=175467&view=rev
Log:
X86FrameLowering.cpp: Fixup. Sorry for the breakage.
Modified:
llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FrameLowering.cpp?rev=175467&r1=175466&r2=175467&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FrameLowering.cpp Mon Feb 18 17:15:21 2013
@@ -1644,7 +1644,7 @@ void X86FrameLowering::adjustForHiPEProl
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'
More information about the llvm-commits
mailing list