diff options
author | Eric Christopher <echristo@apple.com> | 2012-10-02 21:17:00 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-10-02 21:17:00 +0000 |
commit | f01b02b7cf10bcb8c875cd7f610b0e846025f4e4 (patch) | |
tree | 5092751dd213e42ea1563b1b0ebec3ae10771fbd /llvm/lib/Target/X86/X86FrameLowering.cpp | |
parent | 4ec766facfc9086e4076c32184f39c2ce17556ba (diff) | |
download | bcm5719-llvm-f01b02b7cf10bcb8c875cd7f610b0e846025f4e4.tar.gz bcm5719-llvm-f01b02b7cf10bcb8c875cd7f610b0e846025f4e4.zip |
Don't use a debug location for frame setup instructions in the
prologue. Also skip frame setup instructions when looking for the
first location.
llvm-svn: 165052
Diffstat (limited to 'llvm/lib/Target/X86/X86FrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86FrameLowering.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86FrameLowering.cpp b/llvm/lib/Target/X86/X86FrameLowering.cpp index 11745ec3535..f480de0bad5 100644 --- a/llvm/lib/Target/X86/X86FrameLowering.cpp +++ b/llvm/lib/Target/X86/X86FrameLowering.cpp @@ -836,8 +836,6 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF) const { MI->getOperand(3).setIsDead(); } - DL = MBB.findDebugLoc(MBBI); - // If there is an SUB32ri of ESP immediately before this instruction, merge // the two. This can be the case when tail call elimination is enabled and // the callee has more arguments then the caller. |