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:
f6b7844
)
Instancevar was renamed
author
Chris Lattner
<sabre@nondot.org>
Sat, 26 Jun 2004 20:33:39 +0000
(20:33 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 26 Jun 2004 20:33:39 +0000
(20:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14428
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Value.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Value.cpp
b/lib/VMCore/Value.cpp
index fcf0b7a4c4a6d167a704e2448e8615b84d8863ff..0478a2ffb61bb547fda73f8386b5d973283f41b8 100644
(file)
--- a/
lib/VMCore/Value.cpp
+++ b/
lib/VMCore/Value.cpp
@@
-28,9
+28,8
@@
static inline const Type *checkType(const Type *Ty) {
return Ty;
}
-Value::Value(const Type *ty, ValueTy vty, const std::string &name)
- : Name(name), Ty(checkType(ty)) {
- VTy = vty;
+Value::Value(const Type *ty, unsigned scid, const std::string &name)
+ : SubclassID(scid), Ty(checkType(ty)), Name(name) {
}
Value::~Value() {