From: Eric Christopher Date: Tue, 2 Oct 2012 21:16:55 +0000 (+0000) Subject: Use the existing DebugLoc. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=138f2061465a3e79cfc09b6bca1c3fba960b83cb;p=oota-llvm.git Use the existing DebugLoc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165051 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp index 34a1b1fa71c..11745ec3535 100644 --- a/lib/Target/X86/X86FrameLowering.cpp +++ b/lib/Target/X86/X86FrameLowering.cpp @@ -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