summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCInstrInfo.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-14 01:58:56 +0000
committerDan Gohman <gohman@apple.com>2008-05-14 01:58:56 +0000
commitc9f5f3f64f896d0a8c8fa35a1dd98bc57b8960f6 (patch)
tree5b816fae8992386047f06148379eb2d8733649e2 /lib/Target/PowerPC/PPCInstrInfo.h
parent1d5562f72e3f7d9e17a2bf95afa54a98dac95894 (diff)
downloadllvm-c9f5f3f64f896d0a8c8fa35a1dd98bc57b8960f6.tar.gz
llvm-c9f5f3f64f896d0a8c8fa35a1dd98bc57b8960f6.tar.bz2
llvm-c9f5f3f64f896d0a8c8fa35a1dd98bc57b8960f6.tar.xz
Change target-specific classes to use more precise static types.
This eliminates the need for several awkward casts, including the last dynamic_cast under lib/Target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.h b/lib/Target/PowerPC/PPCInstrInfo.h
index 5bd4c4d947..ffeab791c8 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.h
+++ b/lib/Target/PowerPC/PPCInstrInfo.h
@@ -78,7 +78,7 @@ public:
/// such, whenever a client has an instance of instruction info, it should
/// always be able to get register info as well (through this method).
///
- virtual const TargetRegisterInfo &getRegisterInfo() const { return RI; }
+ virtual const PPCRegisterInfo &getRegisterInfo() const { return RI; }
/// getPointerRegClass - Return the register class to use to hold pointers.
/// This is used for addressing modes.