summaryrefslogtreecommitdiffstats
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
commitb4c203ce67595a7b44b37497ed80887b760bcca9 (patch)
tree27e8dab1da0506e0d03e561184f83238553b0db9
parent5cf39339d1236639b635ffb80aa83b95e4af6e95 (diff)
downloadbcm5719-llvm-b4c203ce67595a7b44b37497ed80887b760bcca9.tar.gz
bcm5719-llvm-b4c203ce67595a7b44b37497ed80887b760bcca9.zip
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
-rw-r--r--llvm/include/llvm/Module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Module.h b/llvm/include/llvm/Module.h
index ec92a513a07..bdd72e1c222 100644
--- a/llvm/include/llvm/Module.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud