X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FIR%2FValue.cpp;h=862f08c896627c8c61f6c05b352ecfd25976e4b8;hp=b5af72b858ea9df48bed461d3890ae2b26723c28;hb=9ca230f11ccce9591941149d9cff0be326639c8a;hpb=40dd9d68d717c286d78bfe804ce73602f64b8d72 diff --git a/lib/IR/Value.cpp b/lib/IR/Value.cpp index b5af72b858e..862f08c8966 100644 --- a/lib/IR/Value.cpp +++ b/lib/IR/Value.cpp @@ -45,7 +45,8 @@ static inline Type *checkType(Type *Ty) { Value::Value(Type *ty, unsigned scid) : VTy(checkType(ty)), UseList(nullptr), Name(nullptr), SubclassID(scid), - HasValueHandle(0), SubclassOptionalData(0), SubclassData(0) { + HasValueHandle(0), SubclassOptionalData(0), SubclassData(0), + NumOperands(0) { // FIXME: Why isn't this in the subclass gunk?? // Note, we cannot call isa before the CallInst has been // constructed.