[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.h
Chris Lattner
sabre at nondot.org
Sun Feb 25 20:01:42 PST 2007
Changes in directory llvm/lib/Target/X86:
X86ISelLowering.h updated: 1.88 -> 1.89
---
Log message:
add an accessor.
---
Diffs of the changes: (+4 -0)
X86ISelLowering.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/X86/X86ISelLowering.h
diff -u llvm/lib/Target/X86/X86ISelLowering.h:1.88 llvm/lib/Target/X86/X86ISelLowering.h:1.89
--- llvm/lib/Target/X86/X86ISelLowering.h:1.88 Sun Feb 25 03:06:15 2007
+++ llvm/lib/Target/X86/X86ISelLowering.h Sun Feb 25 22:01:25 2007
@@ -288,6 +288,10 @@
// to this function.
unsigned getBytesCallerReserves() const { return BytesCallerReserves; }
+ /// getStackPtrReg - Return the stack pointer register we are using: either
+ /// ESP or RSP.
+ unsigned getStackPtrReg() const { return X86StackPtr; }
+
/// LowerOperation - Provide custom lowering hooks for some operations.
///
virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG);
More information about the llvm-commits
mailing list