[llvm] r215097 - Fix lld-x86_64-win7 Build #11969

Pavel Chupin pavel.v.chupin at intel.com
Thu Aug 7 04:09:59 PDT 2014


Author: pvchupin
Date: Thu Aug  7 06:09:59 2014
New Revision: 215097

URL: http://llvm.org/viewvc/llvm-project?rev=215097&view=rev
Log:
Fix lld-x86_64-win7 Build #11969

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=215097&r1=215096&r2=215097&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FrameLowering.cpp Thu Aug  7 06:09:59 2014
@@ -852,8 +852,8 @@ void X86FrameLowering::emitEpilogue(Mach
   unsigned StackAlign = getStackAlignment();
   unsigned SlotSize = RegInfo->getSlotSize();
   unsigned FramePtr = RegInfo->getFrameRegister(MF);
-  unsigned MachineFramePtr {Is64BitILP32 ?
-             getX86SubSuperRegister(FramePtr, MVT::i64, false) : FramePtr};
+  unsigned MachineFramePtr = Is64BitILP32 ?
+             getX86SubSuperRegister(FramePtr, MVT::i64, false) : FramePtr;
   unsigned StackPtr = RegInfo->getStackRegister();
 
   bool IsWinEH =





More information about the llvm-commits mailing list