[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9RegInfo.h

Chris Lattner lattner at cs.uiuc.edu
Wed May 11 14:40:56 PDT 2005



Changes in directory llvm/lib/Target/SparcV9:

SparcV9RegInfo.h updated: 1.17 -> 1.18
---
Log message:

fix some GCC 4 warnings


---
Diffs of the changes:  (+2 -0)

 SparcV9RegInfo.h |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/SparcV9/SparcV9RegInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9RegInfo.h:1.17 llvm/lib/Target/SparcV9/SparcV9RegInfo.h:1.18
--- llvm/lib/Target/SparcV9/SparcV9RegInfo.h:1.17	Thu Apr 21 18:25:42 2005
+++ llvm/lib/Target/SparcV9/SparcV9RegInfo.h	Wed May 11 16:40:40 2005
@@ -45,6 +45,8 @@
   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; }






More information about the llvm-commits mailing list