[llvm-commits] CVS: llvm/include/llvm/Instruction.h

Chris Lattner lattner at cs.uiuc.edu
Sun Jun 27 13:58:01 PDT 2004


Changes in directory llvm/include/llvm:

Instruction.h updated: 1.59 -> 1.60

---
Log message:

Now that the SparcV9 specific MachineCodeForInstruction class uses it's own
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).


---
Diffs of the changes:  (+1 -2)

Index: llvm/include/llvm/Instruction.h
diff -u llvm/include/llvm/Instruction.h:1.59 llvm/include/llvm/Instruction.h:1.60
--- llvm/include/llvm/Instruction.h:1.59	Sun Jun 27 13:38:24 2004
+++ llvm/include/llvm/Instruction.h	Sun Jun 27 13:57:34 2004
@@ -16,7 +16,6 @@
 #define LLVM_INSTRUCTION_H
 
 #include "llvm/User.h"
-#include "Support/Annotation.h"
 
 namespace llvm {
 
@@ -27,7 +26,7 @@
 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
 





More information about the llvm-commits mailing list