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
This commit is contained in:
Chris Lattner 2004-06-27 18:36:39 +00:00
parent 19e5c047c7
commit f0870ad57b

View File

@ -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