mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Make ctor inline, change ValueTy ->unsigned
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14430 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b0863778f
commit
38ab9267c9
@ -29,7 +29,8 @@ class User : public Value {
|
||||
protected:
|
||||
std::vector<Use> Operands;
|
||||
public:
|
||||
User(const Type *Ty, ValueTy vty, const std::string &name = "");
|
||||
User(const Type *Ty, unsigned vty, const std::string &name = "")
|
||||
: Value(Ty, vty, name) {}
|
||||
|
||||
inline Value *getOperand(unsigned i) {
|
||||
assert(i < Operands.size() && "getOperand() out of range!");
|
||||
|
Loading…
Reference in New Issue
Block a user