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

Chris Lattner lattner at cs.uiuc.edu
Sun Feb 29 19:26:01 PST 2004


Changes in directory llvm/include/llvm:

Module.h updated: 1.41 -> 1.42

---
Log message:

Make Module annotable.  Reid has a bunch of code that depends on this, and
we really don't win that much by eliminating this (not many Modules are 
allocated), so it's not worth it.  When we can, we should revisit this in 
the future.


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

Index: llvm/include/llvm/Module.h
diff -u llvm/include/llvm/Module.h:1.41 llvm/include/llvm/Module.h:1.42
--- llvm/include/llvm/Module.h:1.41	Sun Feb 29 13:27:55 2004
+++ llvm/include/llvm/Module.h	Sun Feb 29 19:25:37 2004
@@ -43,7 +43,7 @@
   static iplist<GlobalVariable> &getList(Module *M);
 };
 
-struct Module {
+struct Module : public Annotable {
   typedef iplist<GlobalVariable> GlobalListType;
   typedef iplist<Function> FunctionListType;
 





More information about the llvm-commits mailing list