@@ -1475,6 +1475,12 @@ BridgedCanType BridgedInstruction::UnconditionalCheckedCast_getTargetFormalType(
14751475 return {getAs<swift::UnconditionalCheckedCastInst>()->getTargetFormalType ()};
14761476}
14771477
1478+ BridgedInstruction::CastingIsolatedConformances
1479+ BridgedInstruction::UnconditionalCheckedCast_getIsolatedConformances () const {
1480+ return static_cast <BridgedInstruction::CastingIsolatedConformances>(
1481+ getAs<swift::UnconditionalCheckedCastInst>()->getIsolatedConformances ());
1482+ }
1483+
14781484BridgedCanType BridgedInstruction::UnconditionalCheckedCastAddr_getSourceFormalType () const {
14791485 return {getAs<swift::UnconditionalCheckedCastAddrInst>()->getSourceFormalType ()};
14801486}
@@ -1483,6 +1489,12 @@ BridgedCanType BridgedInstruction::UnconditionalCheckedCastAddr_getTargetFormalT
14831489 return {getAs<swift::UnconditionalCheckedCastAddrInst>()->getTargetFormalType ()};
14841490}
14851491
1492+ BridgedInstruction::CastingIsolatedConformances
1493+ BridgedInstruction::UnconditionalCheckedCastAddr_getIsolatedConformances () const {
1494+ return static_cast <BridgedInstruction::CastingIsolatedConformances>(
1495+ getAs<swift::UnconditionalCheckedCastAddrInst>()->getIsolatedConformances ());
1496+ }
1497+
14861498BridgedBasicBlock BridgedInstruction::CheckedCastBranch_getSuccessBlock () const {
14871499 return {getAs<swift::CheckedCastBranchInst>()->getSuccessBB ()};
14881500}
@@ -1491,6 +1503,12 @@ BridgedBasicBlock BridgedInstruction::CheckedCastBranch_getFailureBlock() const
14911503 return {getAs<swift::CheckedCastBranchInst>()->getFailureBB ()};
14921504}
14931505
1506+ BridgedInstruction::CastingIsolatedConformances
1507+ BridgedInstruction::CheckedCastBranch_getIsolatedConformances () const {
1508+ return static_cast <BridgedInstruction::CastingIsolatedConformances>(
1509+ getAs<swift::CheckedCastBranchInst>()->getIsolatedConformances ());
1510+ }
1511+
14941512BridgedCanType BridgedInstruction::CheckedCastAddrBranch_getSourceFormalType () const {
14951513 return {getAs<swift::CheckedCastAddrBranchInst>()->getSourceFormalType ()};
14961514}
@@ -1519,6 +1537,11 @@ BridgedInstruction::CastConsumptionKind BridgedInstruction::CheckedCastAddrBranc
15191537 getAs<swift::CheckedCastAddrBranchInst>()->getConsumptionKind ());
15201538}
15211539
1540+ BridgedInstruction::CastingIsolatedConformances
1541+ BridgedInstruction::CheckedCastAddrBranch_getIsolatedConformances () const {
1542+ return static_cast <BridgedInstruction::CastingIsolatedConformances>(
1543+ getAs<swift::CheckedCastAddrBranchInst>()->getIsolatedConformances ());
1544+ }
15221545
15231546BridgedSubstitutionMap BridgedInstruction::ApplySite_getSubstitutionMap () const {
15241547 auto as = swift::ApplySite (unbridged ());
@@ -2065,25 +2088,31 @@ BridgedInstruction BridgedBuilder::createUpcast(BridgedValue op, BridgedType typ
20652088}
20662089
20672090BridgedInstruction BridgedBuilder::createCheckedCastAddrBranch (
2068- BridgedValue source, BridgedCanType sourceFormalType,
2069- BridgedValue destination, BridgedCanType targetFormalType,
2070- BridgedInstruction::CastConsumptionKind consumptionKind,
2071- BridgedBasicBlock successBlock, BridgedBasicBlock failureBlock) const
2091+ BridgedValue source, BridgedCanType sourceFormalType,
2092+ BridgedValue destination, BridgedCanType targetFormalType,
2093+ BridgedInstruction::CastingIsolatedConformances isolatedConformances,
2094+ BridgedInstruction::CastConsumptionKind consumptionKind,
2095+ BridgedBasicBlock successBlock, BridgedBasicBlock failureBlock) const
20722096{
20732097 return {unbridged ().createCheckedCastAddrBranch (
2074- regularLoc (), (swift::CastConsumptionKind)consumptionKind,
2075- source.getSILValue (), sourceFormalType.unbridged (),
2076- destination.getSILValue (), targetFormalType.unbridged (),
2077- successBlock.unbridged (), failureBlock.unbridged ())};
2098+ regularLoc (),
2099+ (swift::CastingIsolatedConformances)isolatedConformances,
2100+ (swift::CastConsumptionKind)consumptionKind,
2101+ source.getSILValue (), sourceFormalType.unbridged (),
2102+ destination.getSILValue (), targetFormalType.unbridged (),
2103+ successBlock.unbridged (), failureBlock.unbridged ())};
20782104}
20792105
20802106BridgedInstruction BridgedBuilder::createUnconditionalCheckedCastAddr (
2081- BridgedValue source, BridgedCanType sourceFormalType,
2082- BridgedValue destination, BridgedCanType targetFormalType) const
2107+ BridgedInstruction::CastingIsolatedConformances isolatedConformances,
2108+ BridgedValue source, BridgedCanType sourceFormalType,
2109+ BridgedValue destination, BridgedCanType targetFormalType) const
20832110{
20842111 return {unbridged ().createUnconditionalCheckedCastAddr (
2085- regularLoc (), source.getSILValue (), sourceFormalType.unbridged (),
2086- destination.getSILValue (), targetFormalType.unbridged ())};
2112+ regularLoc (),
2113+ (swift::CastingIsolatedConformances)isolatedConformances,
2114+ source.getSILValue (), sourceFormalType.unbridged (),
2115+ destination.getSILValue (), targetFormalType.unbridged ())};
20872116}
20882117
20892118BridgedInstruction BridgedBuilder::createLoad (BridgedValue op, SwiftInt ownership) const {
0 commit comments