diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-27 18:36:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-27 18:36:39 +0000 |
commit | 6b5f30f36511d76b306080e09879f993ff9faccd (patch) | |
tree | 982f3816d34f24ec814a484469d0d4721cfdaf69 /include/llvm/Support/Annotation.h | |
parent | 159286d60d5321f4e097b9c6cb61b23fa01017f6 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Annotation.h')
-rw-r--r-- | include/llvm/Support/Annotation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Annotation.h b/include/llvm/Support/Annotation.h index 9bd442a6c9..efca20a3ec 100644 --- a/include/llvm/Support/Annotation.h +++ b/include/llvm/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 |