Removed spurious EnablePPCRS check.
[oota-llvm.git] / lib / Target / X86 / X86RegisterInfo.h
index e36d5166c985b6037ed4957bda93a0b680c2678c..8b010a924044f38da1bcf16b802dc552ca2c6feb 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file contains the X86 implementation of the MRegisterInfo class.
+// This file contains the X86 implementation of the TargetRegisterInfo class.
 //
 //===----------------------------------------------------------------------===//
 
@@ -16,7 +16,7 @@
 
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/SmallVector.h"
-#include "llvm/Target/MRegisterInfo.h"
+#include "llvm/Target/TargetRegisterInfo.h"
 #include "X86GenRegisterInfo.h.inc"
 
 namespace llvm {
@@ -71,7 +71,7 @@ public:
 
   /// getX86RegNum - Returns the native X86 register number for the given LLVM
   /// register identifier.
-  unsigned getX86RegNum(unsigned RegNo);
+  unsigned getX86RegNum(unsigned RegNo) const;
 
   unsigned getStackAlignment() const { return StackAlign; }