Make MoveOnlyWrapperToCopyableBoxInst a ConversionInstruction.

This appears to be an obvious oversight.
This commit is contained in:
Andrew Trick
2024-02-25 10:25:15 -08:00
parent 0b81392dff
commit f9a26d42d3

View File

@@ -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 }