mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove property behaviors
This commit is contained in:
@@ -1759,42 +1759,6 @@ InitExistentialMetatypeInst::getConformances() const {
|
||||
return {getTrailingObjects<ProtocolConformanceRef>(), NumConformances};
|
||||
}
|
||||
|
||||
MarkUninitializedBehaviorInst *
|
||||
MarkUninitializedBehaviorInst::create(SILModule &M,
|
||||
SILDebugLocation DebugLoc,
|
||||
SILValue InitStorage,
|
||||
SubstitutionMap InitStorageSubs,
|
||||
SILValue Storage,
|
||||
SILValue Setter,
|
||||
SubstitutionMap SetterSubs,
|
||||
SILValue Self,
|
||||
SILType Ty) {
|
||||
auto mem = M.allocateInst(sizeof(MarkUninitializedBehaviorInst),
|
||||
alignof(MarkUninitializedBehaviorInst));
|
||||
return ::new (mem) MarkUninitializedBehaviorInst(DebugLoc,
|
||||
InitStorage, InitStorageSubs,
|
||||
Storage,
|
||||
Setter, SetterSubs,
|
||||
Self,
|
||||
Ty);
|
||||
}
|
||||
|
||||
MarkUninitializedBehaviorInst::MarkUninitializedBehaviorInst(
|
||||
SILDebugLocation DebugLoc,
|
||||
SILValue InitStorage,
|
||||
SubstitutionMap InitStorageSubs,
|
||||
SILValue Storage,
|
||||
SILValue Setter,
|
||||
SubstitutionMap SetterSubs,
|
||||
SILValue Self,
|
||||
SILType Ty)
|
||||
: InstructionBase(DebugLoc, Ty),
|
||||
Operands(this, InitStorage, Storage, Setter, Self),
|
||||
InitStorageSubstitutions(InitStorageSubs),
|
||||
SetterSubstitutions(SetterSubs)
|
||||
{
|
||||
}
|
||||
|
||||
OpenedExistentialAccess swift::getOpenedExistentialAccessFor(AccessKind access) {
|
||||
switch (access) {
|
||||
case AccessKind::Read:
|
||||
|
||||
Reference in New Issue
Block a user