From 8e55b75913dc875bc0d9b8a87597ddd6cc7dd0d8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 Jun 2004 18:36:39 +0000 Subject: 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 --- llvm/include/Support/Annotation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/include/Support/Annotation.h') 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 -- cgit v1.2.3