summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-09-09 23:28:15 +0000
committerBill Wendling <isanbard@gmail.com>2013-09-09 23:28:15 +0000
commitb07305fcd442f1f7c44e9190668aecd832707fed (patch)
treea6020469b4478dfd83c64658eabd005432d50e2b
parentb6d18beec84242da300b6792ee342cf7eab2fce0 (diff)
downloadbcm5719-llvm-b07305fcd442f1f7c44e9190668aecd832707fed.tar.gz
bcm5719-llvm-b07305fcd442f1f7c44e9190668aecd832707fed.zip
Use a default value for the prologue's debug location.
llvm-svn: 190366
-rw-r--r--llvm/lib/Target/X86/X86FrameLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FrameLowering.cpp b/llvm/lib/Target/X86/X86FrameLowering.cpp
index adcd4f7dedc..dd02c4ea7b9 100644
--- a/llvm/lib/Target/X86/X86FrameLowering.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud