aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-26 20:33:39 +0000
committerChris Lattner <sabre@nondot.org>2004-06-26 20:33:39 +0000
commit3d4bd5aa8de96e5ab9382db6a083eb86ddc54f89 (patch)
treeea152799784f88e93b24e3f95c001d7545c8acf3
parentf6b784410103cd0da2de5797463da5830f8ac6bc (diff)
Instancevar was renamed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14428 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Value.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp
index fcf0b7a4c4..0478a2ffb6 100644
--- 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() {