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:
8f0d403
)
Initialize new field.
author
Chris Lattner
<sabre@nondot.org>
Sat, 5 Feb 2005 01:37:58 +0000
(
01:37
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 5 Feb 2005 01:37:58 +0000
(
01:37
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20044
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 3547ac581a34ebc753519e5557f3eb9b7c4e14f5..9dc45f267e47e7af1e6394356b7d53999ad6068f 100644
(file)
--- a/
lib/VMCore/Value.cpp
+++ b/
lib/VMCore/Value.cpp
@@
-31,7
+31,8
@@
static inline const Type *checkType(const Type *Ty) {
}
Value::Value(const Type *ty, unsigned scid, const std::string &name)
- : SubclassID(scid), Ty(checkType(ty)), UseList(0), Name(name) {
+ : SubclassID(scid), SubclassData(0), Ty(checkType(ty)),
+ UseList(0), Name(name) {
if (!isa<Constant>(this) && !isa<BasicBlock>(this))
assert((Ty->isFirstClassType() || Ty == Type::VoidTy ||
isa<OpaqueType>(ty)) &&