mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-20 11:32:33 +00:00
Initialize new field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20044 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8f0d403926
commit
905547b02b
@ -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…
x
Reference in New Issue
Block a user