From 138f2061465a3e79cfc09b6bca1c3fba960b83cb Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 2 Oct 2012 21:16:55 +0000 Subject: [PATCH] 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(-) 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 -- 2.34.1