[llvm-commits] CVS: llvm/lib/Target/X86/X86MachineFunctionInfo.h
Evan Cheng
evan.cheng at apple.com
Thu Jun 8 23:25:22 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86MachineFunctionInfo.h updated: 1.1 -> 1.2
---
Log message:
Comments to appease sabre.
---
Diffs of the changes: (+7 -1)
X86MachineFunctionInfo.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86MachineFunctionInfo.h
diff -u llvm/lib/Target/X86/X86MachineFunctionInfo.h:1.1 llvm/lib/Target/X86/X86MachineFunctionInfo.h:1.2
--- llvm/lib/Target/X86/X86MachineFunctionInfo.h:1.1 Tue Jun 6 18:30:24 2006
+++ llvm/lib/Target/X86/X86MachineFunctionInfo.h Fri Jun 9 01:25:10 2006
@@ -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;}
More information about the llvm-commits
mailing list