diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-09-09 23:28:15 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-09-09 23:28:15 +0000 |
commit | 5ebe6ccf658d829f9e3b7bb2ee2a5c4c392c2a7d (patch) | |
tree | 99a05844455858c86b0c7f9a903b04cadb8c38f3 /lib/Target/X86 | |
parent | d4fc36f2644283c710400adfb0d6ddebea622753 (diff) | |
download | external_llvm-5ebe6ccf658d829f9e3b7bb2ee2a5c4c392c2a7d.zip external_llvm-5ebe6ccf658d829f9e3b7bb2ee2a5c4c392c2a7d.tar.gz external_llvm-5ebe6ccf658d829f9e3b7bb2ee2a5c4c392c2a7d.tar.bz2 |
Use a default value for the prologue's debug location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r-- | lib/Target/X86/X86FrameLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp index adcd4f7..dd02c4e 100644 --- a/lib/Target/X86/X86FrameLowering.cpp +++ b/lib/Target/X86/X86FrameLowering.cpp @@ -408,7 +408,7 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF) const { unsigned FramePtr = RegInfo->getFrameRegister(MF); unsigned StackPtr = RegInfo->getStackRegister(); unsigned BasePtr = RegInfo->getBaseRegister(); - DebugLoc DL; + DebugLoc DL = MBB.findDebugLoc(MBBI); // If we're forcing a stack realignment we can't rely on just the frame // info, we need to know the ABI stack alignment as well in case we |