@@ -6375,25 +6375,22 @@ class EndInitLetRefInst
63756375// / static initializer list.
63766376class ObjectInst final : public InstructionBaseWithTrailingOperands<
63776377 SILInstructionKind::ObjectInst, ObjectInst,
6378- OwnershipForwardingSingleValueInstruction > {
6378+ SingleValueInstruction > {
63796379 friend SILBuilder;
63806380
63816381 unsigned numBaseElements;
63826382
63836383 // / Because of the storage requirements of ObjectInst, object
63846384 // / creation goes through 'create()'.
63856385 ObjectInst (SILDebugLocation DebugLoc, SILType Ty, ArrayRef<SILValue> Elements,
6386- unsigned NumBaseElements,
6387- ValueOwnershipKind forwardingOwnershipKind)
6388- : InstructionBaseWithTrailingOperands(Elements, DebugLoc, Ty,
6389- forwardingOwnershipKind),
6386+ unsigned NumBaseElements)
6387+ : InstructionBaseWithTrailingOperands(Elements, DebugLoc, Ty),
63906388 numBaseElements (NumBaseElements) {}
63916389
63926390 // / Construct an ObjectInst.
63936391 static ObjectInst *create (SILDebugLocation DebugLoc, SILType Ty,
63946392 ArrayRef<SILValue> Elements,
6395- unsigned NumBaseElements, SILModule &M,
6396- ValueOwnershipKind forwardingOwnershipKind);
6393+ unsigned NumBaseElements, SILModule &M);
63976394
63986395public:
63996396 unsigned getNumBaseElements () const { return numBaseElements; }
@@ -11016,7 +11013,6 @@ class LinearFunctionExtractInst
1101611013inline bool
1101711014OwnershipForwardingSingleValueInstruction::classof (SILInstructionKind kind) {
1101811015 switch (kind) {
11019- case SILInstructionKind::ObjectInst:
1102011016 case SILInstructionKind::EnumInst:
1102111017 case SILInstructionKind::UncheckedEnumDataInst:
1102211018 case SILInstructionKind::OpenExistentialRefInst:
0 commit comments