summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-04-25 02:55:55 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-04-25 02:55:55 +0000
commitff7b16c1d69f96bb26f08416479625957fe8f95d (patch)
tree26990f3dca774faae03c0983e71afc785d03cf79 /llvm/lib
parent0c2d046aa4cbf54097150e9ea52181218c966efc (diff)
downloadbcm5719-llvm-ff7b16c1d69f96bb26f08416479625957fe8f95d.tar.gz
bcm5719-llvm-ff7b16c1d69f96bb26f08416479625957fe8f95d.zip
Shut GCC 4.0 up about classes that have virtual functions but a non-virtual
destructor. Just add the do-nothing virtual destructor. llvm-svn: 21524
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/TargetFrameInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetFrameInfo.cpp b/llvm/lib/Target/TargetFrameInfo.cpp
index 7255b3254f8..f54e042df9d 100644
--- a/llvm/lib/Target/TargetFrameInfo.cpp
+++ b/llvm/lib/Target/TargetFrameInfo.cpp
@@ -16,6 +16,10 @@
using namespace llvm;
+TargetFrameInfo::~TargetFrameInfo()
+{
+}
+
//===--------------------------------------------------------------------===//
// These methods provide details of the stack frame used by Sparc, thus they
// are Sparc specific.
OpenPOWER on IntegriCloud