mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Shut GCC 4.0 up about classes that have virtual functions but a non-virtual
destructor. Just add the do-nothing virtual destructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bb3d5d246b
commit
a1aad3b0ed
@ -41,6 +41,8 @@ public:
|
|||||||
TargetFrameInfo(StackDirection D, unsigned StackAl, int LAO)
|
TargetFrameInfo(StackDirection D, unsigned StackAl, int LAO)
|
||||||
: StackDir(D), StackAlignment(StackAl), LocalAreaOffset(LAO) {}
|
: StackDir(D), StackAlignment(StackAl), LocalAreaOffset(LAO) {}
|
||||||
|
|
||||||
|
virtual ~TargetFrameInfo();
|
||||||
|
|
||||||
// These methods return information that describes the abstract stack layout
|
// These methods return information that describes the abstract stack layout
|
||||||
// of the target machine.
|
// of the target machine.
|
||||||
|
|
||||||
|
@ -16,6 +16,10 @@
|
|||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
|
TargetFrameInfo::~TargetFrameInfo()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
//===--------------------------------------------------------------------===//
|
//===--------------------------------------------------------------------===//
|
||||||
// These methods provide details of the stack frame used by Sparc, thus they
|
// These methods provide details of the stack frame used by Sparc, thus they
|
||||||
// are Sparc specific.
|
// are Sparc specific.
|
||||||
|
Loading…
Reference in New Issue
Block a user