From 138f2061465a3e79cfc09b6bca1c3fba960b83cb Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 2 Oct 2012 21:16:55 +0000 Subject: Use the existing DebugLoc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165051 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86FrameLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/X86/X86FrameLowering.cpp') diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp index 34a1b1fa71..11745ec353 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 -- cgit v1.2.3