diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-09-10 15:26:27 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-09-10 15:26:27 +0000 |
| commit | 45719ee85dff902a425a78d295875bd30c106c30 (patch) | |
| tree | b470f21fe5ff2679435a2ee3778dbeb6f24c9a51 /llvm | |
| parent | fe500386d3875162c1788e5d3217b99f4090526e (diff) | |
| download | bcm5719-llvm-45719ee85dff902a425a78d295875bd30c106c30.tar.gz bcm5719-llvm-45719ee85dff902a425a78d295875bd30c106c30.zip | |
Eliminate setType method
Now the only way to set the type of a value is in the ctor for an object
llvm-svn: 3646
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Value.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/include/llvm/Value.h b/llvm/include/llvm/Value.h index 6a39109f32a..2e0740b09a7 100644 --- a/llvm/include/llvm/Value.h +++ b/llvm/include/llvm/Value.h @@ -55,8 +55,6 @@ private: void operator=(const Value &); // Do not implement Value(const Value &); // Do not implement -protected: - inline void setType(const Type *ty) { Ty = ty; } public: Value(const Type *Ty, ValueTy vty, const std::string &name = ""); virtual ~Value(); |

