summaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86RegisterInfo.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/X86/X86RegisterInfo.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/X86/X86RegisterInfo.h')
-rw-r--r--lib/Target/X86/X86RegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.h b/lib/Target/X86/X86RegisterInfo.h
index 702e69d..f6c119d 100644
--- a/lib/Target/X86/X86RegisterInfo.h
+++ b/lib/Target/X86/X86RegisterInfo.h
@@ -102,7 +102,7 @@ public:
/// getPointerRegClass - Returns a TargetRegisterClass used for pointer
/// values.
- const TargetRegisterClass *getPointerRegClass() const;
+ const TargetRegisterClass *getPointerRegClass(unsigned Kind = 0) const;
/// getCrossCopyRegClass - Returns a legal register class to copy a register
/// in the specified class to or from. Returns NULL if it is possible to copy