diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-04-28 04:46:29 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-04-28 04:46:29 +0000 |
| commit | 6b0910e99ea0d5e97e132b2310b8137f8b679e8c (patch) | |
| tree | cfe86d2190af6091b5126bdf66d6617ca2d48d8c /llvm | |
| parent | b5bf1dc8dbabffc45797491f40f6be7949abf56f (diff) | |
| download | bcm5719-llvm-6b0910e99ea0d5e97e132b2310b8137f8b679e8c.tar.gz bcm5719-llvm-6b0910e99ea0d5e97e132b2310b8137f8b679e8c.zip | |
Module's are no longer Value's.
llvm-svn: 2347
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Value.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/llvm/include/llvm/Value.h b/llvm/include/llvm/Value.h index b30b4cc125f..004a8ff89e1 100644 --- a/llvm/include/llvm/Value.h +++ b/llvm/include/llvm/Value.h @@ -1,8 +1,7 @@ //===-- llvm/Value.h - Definition of the Value class -------------*- C++ -*--=// // // This file defines the very important Value class. This is subclassed by a -// bunch of other important classes, like Instruction, Function, Module, Type, -// etc... +// bunch of other important classes, like Instruction, Function, Type, etc... // // This file also defines the Use<> template for users of value. // @@ -25,7 +24,6 @@ class BasicBlock; class GlobalValue; class Function; class GlobalVariable; -class Module; class SymbolTable; template<class ValueSubclass, class ItemParentType, class SymTabType> class ValueHolder; @@ -45,7 +43,6 @@ public: BasicBlockVal, // This is an instance of BasicBlock FunctionVal, // This is an instance of Function GlobalVariableVal, // This is an instance of GlobalVariable - ModuleVal, // This is an instance of Module }; private: @@ -238,11 +235,5 @@ template <> inline bool isa<GlobalValue, const Value*>(const Value *Val) { template <> inline bool isa<GlobalValue, Value*>(Value *Val) { return isa<GlobalVariable>(Val) || isa<Function>(Val); } -template <> inline bool isa<Module, const Value*>(const Value *Val) { - return Val->getValueType() == Value::ModuleVal; -} -template <> inline bool isa<Module, Value*>(Value *Val) { - return Val->getValueType() == Value::ModuleVal; -} #endif |

