add an accessor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-02-26 04:01:25 +00:00
parent 114e5dd464
commit 54e3efde46

View File

@ -288,6 +288,10 @@ namespace llvm {
// 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);