mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Make MoveOnlyWrapperToCopyableBoxInst a ConversionInstruction.
This appears to be an obvious oversight.
This commit is contained in:
@@ -265,6 +265,12 @@ extension MoveOnlyWrapperToCopyableValueInst : ConversionInstruction {
|
||||
public var canForwardOwnedValues: Bool { true }
|
||||
}
|
||||
|
||||
extension MoveOnlyWrapperToCopyableBoxInst : ConversionInstruction {
|
||||
public var preservesRepresentation: Bool { true }
|
||||
public var canForwardGuaranteedValues: Bool { true }
|
||||
public var canForwardOwnedValues: Bool { true }
|
||||
}
|
||||
|
||||
extension UpcastInst : ConversionInstruction {
|
||||
public var preservesRepresentation: Bool { true }
|
||||
public var canForwardGuaranteedValues: Bool { true }
|
||||
@@ -386,12 +392,6 @@ extension MarkUnresolvedReferenceBindingInst : ForwardingInstruction {
|
||||
public var canForwardOwnedValues: Bool { true }
|
||||
}
|
||||
|
||||
extension MoveOnlyWrapperToCopyableBoxInst : ForwardingInstruction {
|
||||
public var preservesRepresentation: Bool { true }
|
||||
public var canForwardGuaranteedValues: Bool { true }
|
||||
public var canForwardOwnedValues: Bool { true }
|
||||
}
|
||||
|
||||
extension LinearFunctionExtractInst: ForwardingInstruction {
|
||||
public var preservesRepresentation: Bool { true }
|
||||
public var canForwardGuaranteedValues: Bool { true }
|
||||
|
||||
Reference in New Issue
Block a user