diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-06-09 06:25:10 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-06-09 06:25:10 +0000 |
commit | e5e228df19d6e9e1218fecfb49f8ef1f53d6759c (patch) | |
tree | 2a89c75d277b6baac14424cc9bc1cd59e4f1387a | |
parent | b12223e284ff73dfeae5a41da74aa51c2d36cb2f (diff) |
Comments to appease sabre.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28737 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86MachineFunctionInfo.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Target/X86/X86MachineFunctionInfo.h b/lib/Target/X86/X86MachineFunctionInfo.h index 9da2bf901b..ce7eebee7d 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;} |