aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Value.cpp
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
commitcc3d909c5fda84e7cf2562e1b1fcc9860449ac4c (patch)
tree9d11324dc2c7b002aeae1439c140e8831d4253ff /lib/VMCore/Value.cpp
parent228de528ceb8c44747f6155dafc6dfebe8782470 (diff)
downloadexternal_llvm-cc3d909c5fda84e7cf2562e1b1fcc9860449ac4c.zip
external_llvm-cc3d909c5fda84e7cf2562e1b1fcc9860449ac4c.tar.gz
external_llvm-cc3d909c5fda84e7cf2562e1b1fcc9860449ac4c.tar.bz2
Add a SubclassOptionalData field to Value. See the doxygen comment for
details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Value.cpp')
-rw-r--r--lib/VMCore/Value.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp
index f3d561f..b35ad50 100644
--- a/lib/VMCore/Value.cpp
+++ b/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 ||