aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-01 01:25:37 +0000
committerChris Lattner <sabre@nondot.org>2004-03-01 01:25:37 +0000
commit9148ad309946e4c7b9d03a0259cbedb76727f64b (patch)
tree06c3905821c16be04d551c85952da38d8e2823ba /include/llvm/Module.h
parent99cca7d3aa774d52b28f04bb0783747c038cda7a (diff)
downloadexternal_llvm-9148ad309946e4c7b9d03a0259cbedb76727f64b.zip
external_llvm-9148ad309946e4c7b9d03a0259cbedb76727f64b.tar.gz
external_llvm-9148ad309946e4c7b9d03a0259cbedb76727f64b.tar.bz2
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
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index ec92a51..bdd72e1 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -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;