From: Chris Lattner Date: Sun, 27 Jun 2004 18:01:15 +0000 (+0000) Subject: Make ctor inline, change ValueTy ->unsigned X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=38ab9267c9d13d5deeba03b08649c11d8ffd637d;p=oota-llvm.git Make ctor inline, change ValueTy ->unsigned git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14430 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/User.h b/include/llvm/User.h index e45afdca68f..310d356a53e 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -29,7 +29,8 @@ class User : public Value { protected: std::vector 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!");