mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Eliminate setType method
Now the only way to set the type of a value is in the ctor for an object git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3646 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b121f1c43
commit
b163f1c3e5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user