Change target-specific classes to use more precise static types.
[oota-llvm.git] / lib / Target / X86 / X86InstrInfo.h
index 06080b74af4b414cb5574270a8baba49453fded7..b49fb31c16a678faf835b9935654507ea11d9301 100644 (file)
@@ -250,7 +250,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 X86RegisterInfo &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.