projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0711c30
)
Do not use first actual instruction's location for prologue. The debug wants to skip...
author
Devang Patel
<dpatel@apple.com>
Wed, 17 Jun 2009 00:48:26 +0000
(
00:48
+0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 17 Jun 2009 00:48:26 +0000
(
00:48
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73592
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86RegisterInfo.cpp
b/lib/Target/X86/X86RegisterInfo.cpp
index b461b8a7a9c4e8e844f499b7454bfbc6b2b606e0..a2f319f9a7ab769ec11d9347722dd8d00fc5120f 100644
(file)
--- a/
lib/Target/X86/X86RegisterInfo.cpp
+++ b/
lib/Target/X86/X86RegisterInfo.cpp
@@
-729,8
+729,7
@@
void X86RegisterInfo::emitPrologue(MachineFunction &MF) const {
bool needsFrameMoves = (MMI && MMI->hasDebugInfo()) ||
!Fn->doesNotThrow() ||
UnwindTablesMandatory;
- DebugLoc DL = (MBBI != MBB.end() ? MBBI->getDebugLoc() :
- DebugLoc::getUnknownLoc());
+ DebugLoc DL;
// Prepare for frame info.
unsigned FrameLabelId = 0;