fix some GCC 4 warnings

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-05-11 21:40:40 +00:00
parent 3163e2d9f3
commit 4548a0ed32

View File

@ -45,6 +45,8 @@ protected:
const unsigned NumOfAllRegs; // # of all registers -including SP,g0 etc.
public:
virtual ~TargetRegClassInfo() {}
inline unsigned getRegClassID() const { return RegClassID; }
inline unsigned getNumOfAvailRegs() const { return NumOfAvailRegs; }
inline unsigned getNumOfAllRegs() const { return NumOfAllRegs; }