[X86] When optimizing for minsize, use POP for small post-call stack clean-up
[oota-llvm.git] / lib / Target / X86 / X86FrameLowering.h
index 495cfcd1c3f78abdeb688364e466d33acfcfae42..b74fcf46169a7828c1819a37034aff750bbff740 100644 (file)
@@ -146,6 +146,11 @@ private:
                           MachineBasicBlock::iterator MBBI, DebugLoc DL,
                           uint64_t MaxAlign) const;
 
+  /// Make small positive stack adjustments using POPs.
+  bool adjustStackWithPops(MachineBasicBlock &MBB,
+                           MachineBasicBlock::iterator MBBI, DebugLoc DL,
+                           int Offset) const;
+
   /// Adjusts the stack pointer using LEA, SUB, or ADD.
   MachineInstrBuilder BuildStackAdjustment(MachineBasicBlock &MBB,
                                            MachineBasicBlock::iterator MBBI,