aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index d02b3a050e..740a8879b6 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -8,12 +8,13 @@
#ifndef LLVM_MODULE_H
#define LLVM_MODULE_H
+#include "llvm/Value.h"
#include "llvm/SymTabValue.h"
class Method;
-class Module : public SymTabValue {
+class Module : public Value, public SymTabValue {
public:
- typedef ValueHolder<Method, Module> MethodListType;
+ typedef ValueHolder<Method, Module, Module> MethodListType;
// Method iterators...
typedef MethodListType::iterator iterator;