From: Chris Lattner Date: Mon, 1 Mar 2004 01:25:37 +0000 (+0000) Subject: Make Module annotable. Reid has a bunch of code that depends on this, and X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9148ad309946e4c7b9d03a0259cbedb76727f64b;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12023 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Module.h b/include/llvm/Module.h index ec92a513a07..bdd72e1c222 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -43,7 +43,7 @@ template<> struct ilist_traits static iplist &getList(Module *M); }; -struct Module { +struct Module : public Annotable { typedef iplist GlobalListType; typedef iplist FunctionListType;