summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86MachineFunctionInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-06-09 06:25:10 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-06-09 06:25:10 +0000
commite5e228df19d6e9e1218fecfb49f8ef1f53d6759c (patch)
tree2a89c75d277b6baac14424cc9bc1cd59e4f1387a /lib/Target/X86/X86MachineFunctionInfo.h
parentb12223e284ff73dfeae5a41da74aa51c2d36cb2f (diff)
downloadllvm-e5e228df19d6e9e1218fecfb49f8ef1f53d6759c.tar.gz
llvm-e5e228df19d6e9e1218fecfb49f8ef1f53d6759c.tar.bz2
llvm-e5e228df19d6e9e1218fecfb49f8ef1f53d6759c.tar.xz
Comments to appease sabre.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86MachineFunctionInfo.h')
-rw-r--r--lib/Target/X86/X86MachineFunctionInfo.h8
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;}