summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-29 20:31:52 +0000
committerChris Lattner <sabre@nondot.org>2009-07-29 20:31:52 +0000
commitee68a483ec583cded1ac89033f246bdbb5f905ac (patch)
tree723cea35403348537c151136752e9b0bfa38c5c7 /llvm/lib/Target/PowerPC/PPCRegisterInfo.h
parent0d98d8b8b30e72f60f1b5182f3325caac6d4fcea (diff)
downloadbcm5719-llvm-ee68a483ec583cded1ac89033f246bdbb5f905ac.tar.gz
bcm5719-llvm-ee68a483ec583cded1ac89033f246bdbb5f905ac.zip
Give getPointerRegClass() a "kind" value so that targets can
support multiple different pointer register classes. llvm-svn: 77501
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCRegisterInfo.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCRegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCRegisterInfo.h b/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
index ddaefdd2a37..2b5ad141600 100644
--- a/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
+++ b/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
@@ -37,7 +37,7 @@ public:
/// getPointerRegClass - Return the register class to use to hold pointers.
/// This is used for addressing modes.
- virtual const TargetRegisterClass *getPointerRegClass() const;
+ virtual const TargetRegisterClass *getPointerRegClass(unsigned Kind=0) const;
/// Code Generation virtual methods...
const unsigned *getCalleeSavedRegs(const MachineFunction* MF = 0) const;
OpenPOWER on IntegriCloud