Now that the SparcV9 specific MachineCodeForInstruction class uses it's own
authorChris Lattner <sabre@nondot.org>
Sun, 27 Jun 2004 18:57:34 +0000 (18:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 27 Jun 2004 18:57:34 +0000 (18:57 +0000)
map on the side, Instruction no longer has to be Annotable.  This reduces
the size of the Instruction class by another 4 bytes (on a 32-bit system).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14439 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instruction.h

index 31407ff8498842b730db2c659e6ccd42221ac78d..85f6cdb0b144ccc0bf8d17a043e16a736ac5b4e7 100644 (file)
@@ -16,7 +16,6 @@
 #define LLVM_INSTRUCTION_H
 
 #include "llvm/User.h"
-#include "Support/Annotation.h"
 
 namespace llvm {
 
@@ -27,7 +26,7 @@ template<typename SC> struct ilist_traits;
 template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
          typename SubClass> class SymbolTableListTraits;
 
-class Instruction : public User, public Annotable {
+class Instruction : public User {
   BasicBlock *Parent;
   Instruction *Prev, *Next; // Next and Prev links for our intrusive linked list