OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
114e5dd
)
add an accessor.
author
Chris Lattner
<sabre@nondot.org>
Mon, 26 Feb 2007 04:01:25 +0000
(
04:01
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 26 Feb 2007 04:01:25 +0000
(
04:01
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34625
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.h
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.h
b/lib/Target/X86/X86ISelLowering.h
index
ae01368
..
06e4635
100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.h
+++ b/
lib/Target/X86/X86ISelLowering.h
@@
-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);