[llvm-commits] CVS: llvm/include/llvm/Target/TargetFrameInfo.h
Reid Spencer
reid at x10sys.com
Sun Apr 24 19:56:06 PDT 2005
Changes in directory llvm/include/llvm/Target:
TargetFrameInfo.h updated: 1.19 -> 1.20
---
Log message:
Shut GCC 4.0 up about classes that have virtual functions but a non-virtual
destructor. Just add the do-nothing virtual destructor.
---
Diffs of the changes: (+2 -0)
TargetFrameInfo.h | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/include/llvm/Target/TargetFrameInfo.h
diff -u llvm/include/llvm/Target/TargetFrameInfo.h:1.19 llvm/include/llvm/Target/TargetFrameInfo.h:1.20
--- llvm/include/llvm/Target/TargetFrameInfo.h:1.19 Thu Apr 21 22:46:24 2005
+++ llvm/include/llvm/Target/TargetFrameInfo.h Sun Apr 24 21:55:55 2005
@@ -41,6 +41,8 @@
TargetFrameInfo(StackDirection D, unsigned StackAl, int LAO)
: StackDir(D), StackAlignment(StackAl), LocalAreaOffset(LAO) {}
+ virtual ~TargetFrameInfo();
+
// These methods return information that describes the abstract stack layout
// of the target machine.
More information about the llvm-commits
mailing list