Change target-specific classes to use more precise static types.
[oota-llvm.git] / lib / Target / Sparc / SparcInstrInfo.h
index e9ce790a2a004e4ceb84c684d724f51c269e5ef6..309b268bba44a6233c59f23aee4a04d42e793185 100644 (file)
@@ -41,7 +41,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 SparcRegisterInfo &getRegisterInfo() const { return RI; }
 
   /// Return true if the instruction is a register to register move and
   /// leave the source and dest operands in the passed parameters.