[llvm-commits] CVS: llvm/lib/VMCore/Value.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Feb 4 17:38:11 PST 2005
Changes in directory llvm/lib/VMCore:
Value.cpp updated: 1.52 -> 1.53
---
Log message:
Initialize new field.
---
Diffs of the changes: (+2 -1)
Value.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/VMCore/Value.cpp
diff -u llvm/lib/VMCore/Value.cpp:1.52 llvm/lib/VMCore/Value.cpp:1.53
--- llvm/lib/VMCore/Value.cpp:1.52 Mon Jan 31 19:24:21 2005
+++ llvm/lib/VMCore/Value.cpp Fri Feb 4 19:37:58 2005
@@ -31,7 +31,8 @@
}
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)) &&
More information about the llvm-commits
mailing list