summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitbeedf824e3d09d541a7012f0d67292b6d8354ca8 (patch)
tree174f86392c04bbbc34f70e41256ba43f1965d71c /llvm/lib
parent0e14a56d35377b4568d11efad3d3af128a28705d (diff)
downloadbcm5719-llvm-beedf824e3d09d541a7012f0d67292b6d8354ca8.tar.gz
bcm5719-llvm-beedf824e3d09d541a7012f0d67292b6d8354ca8.zip
Comments to appease sabre.
llvm-svn: 28737
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86MachineFunctionInfo.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86MachineFunctionInfo.h b/llvm/lib/Target/X86/X86MachineFunctionInfo.h
index 9da2bf901bb..ce7eebee7dd 100644
--- a/llvm/lib/Target/X86/X86MachineFunctionInfo.h
+++ b/llvm/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;}
OpenPOWER on IntegriCloud