From: Evan Cheng Date: Fri, 9 Jun 2006 06:25:10 +0000 (+0000) Subject: Comments to appease sabre. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e5e228df19d6e9e1218fecfb49f8ef1f53d6759c;p=oota-llvm.git Comments to appease sabre. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28737 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86MachineFunctionInfo.h b/lib/Target/X86/X86MachineFunctionInfo.h index 9da2bf901bb..ce7eebee7dd 100644 --- a/lib/Target/X86/X86MachineFunctionInfo.h +++ b/lib/Target/X86/X86MachineFunctionInfo.h @@ -18,8 +18,14 @@ 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;}