aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MSP430/MSP430RegisterInfo.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
commit2cfd52c507bd5790457a171eb9bcb39019cc6860 (patch)
tree32ee499ddd00d0df27a59cdd085b5afab4c6f632 /lib/Target/MSP430/MSP430RegisterInfo.h
parent0531d04d002c6d9489b4d1a85f49734e5c27e6f7 (diff)
downloadexternal_llvm-2cfd52c507bd5790457a171eb9bcb39019cc6860.zip
external_llvm-2cfd52c507bd5790457a171eb9bcb39019cc6860.tar.gz
external_llvm-2cfd52c507bd5790457a171eb9bcb39019cc6860.tar.bz2
Give getPointerRegClass() a "kind" value so that targets can
support multiple different pointer register classes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430RegisterInfo.h')
-rw-r--r--lib/Target/MSP430/MSP430RegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MSP430RegisterInfo.h b/lib/Target/MSP430/MSP430RegisterInfo.h
index a210e36..69007ab 100644
--- a/lib/Target/MSP430/MSP430RegisterInfo.h
+++ b/lib/Target/MSP430/MSP430RegisterInfo.h
@@ -40,7 +40,7 @@ public:
getCalleeSavedRegClasses(const MachineFunction *MF = 0) const;
BitVector getReservedRegs(const MachineFunction &MF) const;
- const TargetRegisterClass* getPointerRegClass() const;
+ const TargetRegisterClass* getPointerRegClass(unsigned Kind = 0) const;
bool hasFP(const MachineFunction &MF) const;
bool hasReservedCallFrame(MachineFunction &MF) const;