llvm.org GIT mirror llvm / 38ab926
Make ctor inline, change ValueTy ->unsigned git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14430 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2828 protected:
2929 std::vector Operands;
3030 public:
31 User(const Type *Ty, ValueTy vty, const std::string &name = "");
31 User(const Type *Ty, unsigned vty, const std::string &name = "")
32 : Value(Ty, vty, name) {}
3233
3334 inline Value *getOperand(unsigned i) {
3435 assert(i < Operands.size() && "getOperand() out of range!");