mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
Initialize new field.
llvm-svn: 20044
This commit is contained in:
parent
de2bf4ed11
commit
d73939a8ed
@ -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)) &&
|
||||
|
Loading…
Reference in New Issue
Block a user