fix some GCC 4 warnings
authorChris Lattner <sabre@nondot.org>
Wed, 11 May 2005 21:40:40 +0000 (21:40 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 11 May 2005 21:40:40 +0000 (21:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21877 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9RegInfo.h

index b3c78f3b74f8a6c9b3bfaa52813ff54f5c5d7667..1a1a007d75a5fabb618e2f8b3dc3048822745880 100644 (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; }