From 38ab9267c9d13d5deeba03b08649c11d8ffd637d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 Jun 2004 18:01:15 +0000 Subject: [PATCH] Make ctor inline, change ValueTy ->unsigned git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14430 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/User.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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!"); -- 2.34.1