projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b08637
)
Make ctor inline, change ValueTy ->unsigned
author
Chris Lattner
<sabre@nondot.org>
Sun, 27 Jun 2004 18:01:15 +0000
(18:01 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 27 Jun 2004 18:01:15 +0000
(18:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14430
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/User.h
patch
|
blob
|
history
diff --git
a/include/llvm/User.h
b/include/llvm/User.h
index e45afdca68f7fad170340cb937398cb585813970..310d356a53e6fdd462447e183e913b35f9055094 100644
(file)
--- a/
include/llvm/User.h
+++ b/
include/llvm/User.h
@@
-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!");