diff options
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r-- | include/llvm/Module.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h index a9f920edcb..823d4d82f0 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -94,8 +94,8 @@ public: inline Method *back() { return MethodList.back(); } // Methods for support type inquiry through isa, cast, and dyn_cast: - static inline bool isa(const Module *T) { return true; } - static inline bool isa(const Value *V) { + static inline bool classof(const Module *T) { return true; } + static inline bool classof(const Value *V) { return V->getValueType() == Value::ModuleVal; } |