summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-17 17:16:59 +0000
committerDan Gohman <gohman@apple.com>2009-07-17 17:16:59 +0000
commit9691e71a4fff2e4dd7accb1d174bf995aed4f7fa (patch)
tree67724051ff9d0038c37bcd0c41b8298286a6f197 /llvm/lib
parent412e4fc5a12eb9fb516c0d2728f58d13f12138e4 (diff)
downloadbcm5719-llvm-9691e71a4fff2e4dd7accb1d174bf995aed4f7fa.tar.gz
bcm5719-llvm-9691e71a4fff2e4dd7accb1d174bf995aed4f7fa.zip
Add a SubclassOptionalData field to Value. See the doxygen comment for
details. llvm-svn: 76189
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Value.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index f3d561fe39b..b35ad507984 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/lib/VMCore/Value.cpp
@@ -40,7 +40,8 @@ static inline const Type *checkType(const Type *Ty) {
}
Value::Value(const Type *ty, unsigned scid)
- : SubclassID(scid), HasValueHandle(0), SubclassData(0), VTy(checkType(ty)),
+ : SubclassID(scid), HasValueHandle(0), SubclassOptionalData(0),
+ SubclassData(0), VTy(checkType(ty)),
UseList(0), Name(0) {
if (isa<CallInst>(this) || isa<InvokeInst>(this))
assert((VTy->isFirstClassType() || VTy == Type::VoidTy ||
OpenPOWER on IntegriCloud