projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3163e2d
)
fix some GCC 4 warnings
author
Chris Lattner
<sabre@nondot.org>
Wed, 11 May 2005 21:40:40 +0000
(21:40 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/SparcV9RegInfo.h
b/lib/Target/SparcV9/SparcV9RegInfo.h
index b3c78f3b74f8a6c9b3bfaa52813ff54f5c5d7667..1a1a007d75a5fabb618e2f8b3dc3048822745880 100644
(file)
--- a/
lib/Target/SparcV9/SparcV9RegInfo.h
+++ b/
lib/Target/SparcV9/SparcV9RegInfo.h
@@
-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; }