summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormortimer <mortimer@cvs.openbsd.org>2019-02-05 02:12:42 +0000
committermortimer <mortimer@cvs.openbsd.org>2019-02-05 02:12:42 +0000
commit7406246b8f0f96fc7d5884c1eba639bc65489ed2 (patch)
treedee3e6c3b19a86b1deab5e090a51c123c779b94f
parentee653baee83d76da7dd921a0a19168a10fbfd07d (diff)
Zap unneeded argument to BuildMI().
ok dlg@
-rw-r--r--gnu/llvm/lib/Target/X86/X86FrameLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/lib/Target/X86/X86FrameLowering.cpp b/gnu/llvm/lib/Target/X86/X86FrameLowering.cpp
index 1a8d3b03836..01448023f2a 100644
--- a/gnu/llvm/lib/Target/X86/X86FrameLowering.cpp
+++ b/gnu/llvm/lib/Target/X86/X86FrameLowering.cpp
@@ -1750,7 +1750,7 @@ void X86FrameLowering::emitEpilogue(MachineFunction &MF,
if (X86FI->getSaveArgSize()) {
// LEAVE is effectively mov rbp,rsp; pop rbp
- BuildMI(MBB, MBBI, DL, TII.get(X86::LEAVE64), MachineFramePtr)
+ BuildMI(MBB, MBBI, DL, TII.get(X86::LEAVE64))
.setMIFlag(MachineInstr::FrameDestroy);
} else {
// Pop EBP.