summaryrefslogtreecommitdiffstats
path: root/llvm/include/Support/Annotation.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-27 18:36:39 +0000
committerChris Lattner <sabre@nondot.org>2004-06-27 18:36:39 +0000
commit8e55b75913dc875bc0d9b8a87597ddd6cc7dd0d8 (patch)
tree1d30da60160eb4445ad8e38433f520536f5e4449 /llvm/include/Support/Annotation.h
parent6b62f225f6c04fb5ac449d1bab3558ddaf7a0956 (diff)
downloadbcm5719-llvm-8e55b75913dc875bc0d9b8a87597ddd6cc7dd0d8.tar.gz
bcm5719-llvm-8e55b75913dc875bc0d9b8a87597ddd6cc7dd0d8.zip
Get rid of Annotable's vtable. If anyone deletes an object through an Annotable*,
they get what they deserve. This reduces the size of Instruction & Function by 4 bytes each. llvm-svn: 14433
Diffstat (limited to 'llvm/include/Support/Annotation.h')
-rw-r--r--llvm/include/Support/Annotation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/Support/Annotation.h b/llvm/include/Support/Annotation.h
index 9bd442a6c96..efca20a3ec0 100644
--- a/llvm/include/Support/Annotation.h
+++ b/llvm/include/Support/Annotation.h
@@ -95,7 +95,7 @@ class Annotable {
void operator=(const Annotable &); // Do not implement
public:
Annotable() : AnnotationList(0) {}
- virtual ~Annotable(); // Virtual because it's designed to be subclassed...
+ ~Annotable();
// getAnnotation - Search the list for annotations of the specified ID. The
// pointer returned is either null (if no annotations of the specified ID
OpenPOWER on IntegriCloud