From 9148ad309946e4c7b9d03a0259cbedb76727f64b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 1 Mar 2004 01:25:37 +0000 Subject: [PATCH] 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 --- include/llvm/Module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;