mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -95,7 +95,7 @@ class Annotable { | |||||||
|   void operator=(const Annotable &);   // Do not implement |   void operator=(const Annotable &);   // Do not implement | ||||||
| public: | public: | ||||||
|   Annotable() : AnnotationList(0) {} |   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 |   // getAnnotation - Search the list for annotations of the specified ID.  The | ||||||
|   // pointer returned is either null (if no annotations of the specified ID |   // pointer returned is either null (if no annotations of the specified ID | ||||||
|   | |||||||
| @@ -95,7 +95,7 @@ class Annotable { | |||||||
|   void operator=(const Annotable &);   // Do not implement |   void operator=(const Annotable &);   // Do not implement | ||||||
| public: | public: | ||||||
|   Annotable() : AnnotationList(0) {} |   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 |   // getAnnotation - Search the list for annotations of the specified ID.  The | ||||||
|   // pointer returned is either null (if no annotations of the specified ID |   // pointer returned is either null (if no annotations of the specified ID | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user