summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86FrameLowering.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2012-10-04 20:46:14 +0000
committerEric Christopher <echristo@gmail.com>2012-10-04 20:46:14 +0000
commit0313ced016f3777e806ca2e42a746d3162174c47 (patch)
treead50cded88cbbad21c2cb950ebec00674e12234f /lib/Target/X86/X86FrameLowering.cpp
parent726b88fb6a3242bbbe6c6c486a18dfa6f6ed11a6 (diff)
downloadllvm-0313ced016f3777e806ca2e42a746d3162174c47.tar.gz
llvm-0313ced016f3777e806ca2e42a746d3162174c47.tar.bz2
llvm-0313ced016f3777e806ca2e42a746d3162174c47.tar.xz
Update this a bit more to represent how the prologue should work:
a) frame setup instructions define the prologue b) we shouldn't change our location mid-stream Add a test to make sure that the stack adjustment stays within the prologue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FrameLowering.cpp')
-rw-r--r--lib/Target/X86/X86FrameLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp
index ce53c5a4ef..944dbc9519 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.