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 | 9fd304672cec6cd31b1978408a0a0dc375f96969 (patch) | |
tree | 796678075470745362c52fd8477c1435113f65a4 /lib/Target/X86/X86FrameLowering.cpp | |
parent | 138f2061465a3e79cfc09b6bca1c3fba960b83cb (diff) | |
download | external_llvm-9fd304672cec6cd31b1978408a0a0dc375f96969.zip external_llvm-9fd304672cec6cd31b1978408a0a0dc375f96969.tar.gz external_llvm-9fd304672cec6cd31b1978408a0a0dc375f96969.tar.bz2 |
Don't use a debug location for frame setup instructions in the
prologue. Also skip frame setup instructions when looking for the
first location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FrameLowering.cpp')
-rw-r--r-- | lib/Target/X86/X86FrameLowering.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp index 11745ec..f480de0 100644 --- a/lib/Target/X86/X86FrameLowering.cpp +++ b/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. |