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. llvm-svn: 12023
This commit is contained in:
parent
5cf39339d1
commit
b4c203ce67
|
@ -43,7 +43,7 @@ template<> struct ilist_traits<GlobalVariable>
|
|||
static iplist<GlobalVariable> &getList(Module *M);
|
||||
};
|
||||
|
||||
struct Module {
|
||||
struct Module : public Annotable {
|
||||
typedef iplist<GlobalVariable> GlobalListType;
|
||||
typedef iplist<Function> FunctionListType;
|
||||
|
||||
|
|
Loading…
Reference in New Issue