mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Add a SubclassOptionalData field to Value. See the doxygen comment for
details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76189 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -40,7 +40,8 @@ static inline const Type *checkType(const Type *Ty) {
|
||||
}
|
||||
|
||||
Value::Value(const Type *ty, unsigned scid)
|
||||
: SubclassID(scid), HasValueHandle(0), SubclassData(0), VTy(checkType(ty)),
|
||||
: SubclassID(scid), HasValueHandle(0), SubclassOptionalData(0),
|
||||
SubclassData(0), VTy(checkType(ty)),
|
||||
UseList(0), Name(0) {
|
||||
if (isa<CallInst>(this) || isa<InvokeInst>(this))
|
||||
assert((VTy->isFirstClassType() || VTy == Type::VoidTy ||
|
||||
|
Reference in New Issue
Block a user