From 93ca2ee32672898244a0dd2e84f8d38c3bacfd13 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 3 Oct 2017 21:12:18 +0000 Subject: [PATCH] [X86] Remove dead declaration convertArgMovsToPushes, NFC This was dead when it landed in r252578. We have this functionality, if not for stack probe calls, but for regular calls in X86CallFrameOptimization.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314845 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86FrameLowering.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/Target/X86/X86FrameLowering.h b/lib/Target/X86/X86FrameLowering.h index 773baff327d..452b56fc775 100644 --- a/lib/Target/X86/X86FrameLowering.h +++ b/lib/Target/X86/X86FrameLowering.h @@ -157,15 +157,6 @@ public: void orderFrameObjects(const MachineFunction &MF, SmallVectorImpl &ObjectsToAllocate) const override; - /// convertArgMovsToPushes - This method tries to convert a call sequence - /// that uses sub and mov instructions to put the argument onto the stack - /// into a series of pushes. - /// Returns true if the transformation succeeded, false if not. - bool convertArgMovsToPushes(MachineFunction &MF, - MachineBasicBlock &MBB, - MachineBasicBlock::iterator I, - uint64_t Amount) const; - /// Wraps up getting a CFI index and building a MachineInstr for it. void BuildCFI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, const DebugLoc &DL, const MCCFIInstruction &CFIInst) const; -- 2.40.0