mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SIL: Remove array.owner semantic function
Also remove the getOwner functions from ArraySlide. These functions are not needed anymore with accessors. rdar://problem/44184810
This commit is contained in:
@@ -515,7 +515,6 @@ static bool isNonMutatingArraySemanticCall(SILInstruction *Inst) {
|
||||
case ArrayCallKind::kGetCount:
|
||||
case ArrayCallKind::kGetCapacity:
|
||||
case ArrayCallKind::kGetElement:
|
||||
case ArrayCallKind::kGetArrayOwner:
|
||||
case ArrayCallKind::kGetElementAddress:
|
||||
return true;
|
||||
case ArrayCallKind::kMakeMutable:
|
||||
|
||||
Reference in New Issue
Block a user