summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CellSPU/SPUInstrInfo.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
commiteabd647cd5a39657c7a0b09d6b148499b6a0ea93 (patch)
tree52da73272a83bfbc56a99a1ccb6b27b52a57f7ac /llvm/lib/Target/CellSPU/SPUInstrInfo.h
parent0f45b6fda5988719f55728cbfc70bb553c5733dd (diff)
downloadbcm5719-llvm-eabd647cd5a39657c7a0b09d6b148499b6a0ea93.tar.gz
bcm5719-llvm-eabd647cd5a39657c7a0b09d6b148499b6a0ea93.zip
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. llvm-svn: 51091
Diffstat (limited to 'llvm/lib/Target/CellSPU/SPUInstrInfo.h')
-rw-r--r--llvm/lib/Target/CellSPU/SPUInstrInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUInstrInfo.h b/llvm/lib/Target/CellSPU/SPUInstrInfo.h
index dc492023bb5..9adffde66b9 100644
--- a/llvm/lib/Target/CellSPU/SPUInstrInfo.h
+++ b/llvm/lib/Target/CellSPU/SPUInstrInfo.h
@@ -30,7 +30,7 @@ namespace llvm {
/// 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 SPURegisterInfo &getRegisterInfo() const { return RI; }
/// getPointerRegClass - Return the register class to use to hold pointers.
/// This is used for addressing modes.
OpenPOWER on IntegriCloud