mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Initialize HasMetadata to zero.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82145 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f194d627d5
commit
d8c8e01fe8
@ -44,8 +44,8 @@ static inline const Type *checkType(const Type *Ty) {
|
||||
}
|
||||
|
||||
Value::Value(const Type *ty, unsigned scid)
|
||||
: SubclassID(scid), HasValueHandle(0), SubclassOptionalData(0),
|
||||
SubclassData(0), VTy(checkType(ty)),
|
||||
: SubclassID(scid), HasValueHandle(0), HasMetadata(0),
|
||||
SubclassOptionalData(0), SubclassData(0), VTy(checkType(ty)),
|
||||
UseList(0), Name(0) {
|
||||
if (isa<CallInst>(this) || isa<InvokeInst>(this))
|
||||
assert((VTy->isFirstClassType() ||
|
||||
|
Loading…
Reference in New Issue
Block a user