Use the existing DebugLoc.
authorEric Christopher <echristo@apple.com>
Tue, 2 Oct 2012 21:16:55 +0000 (21:16 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 2 Oct 2012 21:16:55 +0000 (21:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165051 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86FrameLowering.cpp

index 34a1b1fa71cd8e1e3cdb9ae220b2317917ccf8bd..11745ec35359b9b5f9eacc3bfb4c1de3fa70cf4d 100644 (file)
@@ -924,7 +924,7 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF) const {
     }
   } else if (NumBytes)
     emitSPUpdate(MBB, MBBI, StackPtr, -(int64_t)NumBytes, Is64Bit,
-                 UseLEA, TII, *RegInfo, MBB.findDebugLoc(MBBI));
+                 UseLEA, TII, *RegInfo, DL);
 
   // If we need a base pointer, set it up here. It's whatever the value
   // of the stack pointer is at this point. Any variable size objects