Comments to appease sabre.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 9 Jun 2006 06:25:10 +0000 (06:25 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 9 Jun 2006 06:25:10 +0000 (06:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28737 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86MachineFunctionInfo.h

index 9da2bf901bbd5f527ba1aba9d1fe2a1d01e95fc1..ce7eebee7dd56e9757f8ee31e53f283c63e619a8 100644 (file)
 
 namespace llvm {
 
+/// X86FunctionInfo - This class is derived from MachineFunction private
+/// X86 target-specific information for each MachineFunction.
 class X86FunctionInfo : public MachineFunctionInfo {
-  bool ForceFramePointer;  // Function requires use of frame pointer.
+  // ForceFramePointer - True if the function is required to use of frame
+  // pointer for reasons other than it containing dynamic allocation or 
+  // that FP eliminatation is turned off. For example, Cygwin main function
+  // contains stack pointer re-alignment code which requires FP.
+  bool ForceFramePointer;
 public:
   X86FunctionInfo(MachineFunction& MF) : ForceFramePointer(false) {}
   bool getForceFramePointer() const { return ForceFramePointer;}