summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86FrameLowering.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-10-02 21:16:55 +0000
committerEric Christopher <echristo@apple.com>2012-10-02 21:16:55 +0000
commit138f2061465a3e79cfc09b6bca1c3fba960b83cb (patch)
treedff154d52f09a54eba93cc5918ddfd0b38ee25b9 /lib/Target/X86/X86FrameLowering.cpp
parent2d4d0f0ee8cb4f071e03a5329a637522e12cde06 (diff)
downloadllvm-138f2061465a3e79cfc09b6bca1c3fba960b83cb.tar.gz
llvm-138f2061465a3e79cfc09b6bca1c3fba960b83cb.tar.bz2
llvm-138f2061465a3e79cfc09b6bca1c3fba960b83cb.tar.xz
Use the existing DebugLoc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FrameLowering.cpp')
-rw-r--r--lib/Target/X86/X86FrameLowering.cpp2
1 files changed, 1 insertions, 1 deletions
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