summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitd0b0b454e58ef27b9dc0706e318a34845b800a1e (patch)
tree71d3f0533c4522ded812275cf65aa1398e1b2ebb /llvm
parent4a9134ecaccfa2b7bd8e15c2795da3b20d99bc8c (diff)
downloadbcm5719-llvm-d0b0b454e58ef27b9dc0706e318a34845b800a1e.tar.gz
bcm5719-llvm-d0b0b454e58ef27b9dc0706e318a34845b800a1e.zip
Instancevar was renamed
llvm-svn: 14428
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/Value.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index fcf0b7a4c4a..0478a2ffb61 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/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() {
OpenPOWER on IntegriCloud