mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add support for unconditional checked cast instruction for opaque value types + SILGen support for it
This commit is contained in:
@@ -266,6 +266,7 @@ ABSTRACT_VALUE(SILInstruction, ValueBase)
|
||||
INST(ObjCMetatypeToObjectInst, ConversionInst, objc_metatype_to_object, None, DoesNotRelease)
|
||||
INST(ObjCExistentialMetatypeToObjectInst, ConversionInst, objc_existential_metatype_to_object, None,
|
||||
DoesNotRelease)
|
||||
INST(UnconditionalCheckedCastOpaqueInst, ConversionInst, unconditional_checked_cast_opaque, None, DoesNotRelease)
|
||||
INST(UnconditionalCheckedCastInst, ConversionInst, unconditional_checked_cast, None, DoesNotRelease)
|
||||
VALUE_RANGE(ConversionInst, UpcastInst, UnconditionalCheckedCastInst)
|
||||
INST(IsNonnullInst, SILInstruction, is_nonnull, None, DoesNotRelease)
|
||||
|
||||
Reference in New Issue
Block a user