]> granicus.if.org Git - llvm/commitdiff
[X86] Remove dead declaration convertArgMovsToPushes, NFC
authorReid Kleckner <rnk@google.com>
Tue, 3 Oct 2017 21:12:18 +0000 (21:12 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 3 Oct 2017 21:12:18 +0000 (21:12 +0000)
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

index 773baff327d65bb1f66b589aa5af978784c1032f..452b56fc77501d1d635d67c3925c2a90e472d07d 100644 (file)
@@ -157,15 +157,6 @@ public:
   void orderFrameObjects(const MachineFunction &MF,
                          SmallVectorImpl<int> &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;