@@ -907,6 +907,13 @@ FUNCTION(GetWitnessTable, swift_getWitnessTable, C_CC, AlwaysAvailable,
907
907
WitnessTablePtrPtrTy),
908
908
ATTRS(NoUnwind, ReadOnly),
909
909
EFFECT(MetaData)) // ?
910
+ FUNCTION(GetWitnessTableRelative, swift_getWitnessTableRelative, C_CC, AlwaysAvailable,
911
+ RETURNS(WitnessTablePtrTy),
912
+ ARGS(ProtocolConformanceDescriptorPtrTy,
913
+ TypeMetadataPtrTy,
914
+ WitnessTablePtrPtrTy),
915
+ ATTRS(NoUnwind, ReadOnly),
916
+ EFFECT(MetaData)) // ?
910
917
911
918
// MetadataResponse swift_getAssociatedTypeWitness(
912
919
// MetadataRequest request,
@@ -924,6 +931,16 @@ FUNCTION(GetAssociatedTypeWitness, swift_getAssociatedTypeWitness,
924
931
ProtocolRequirementStructTy->getPointerTo()),
925
932
ATTRS(NoUnwind, ReadNone, WillReturn),
926
933
EFFECT(MetaData)) // ?
934
+ FUNCTION(GetAssociatedTypeWitnessRelative, swift_getAssociatedTypeWitnessRelative,
935
+ SwiftCC, AlwaysAvailable,
936
+ RETURNS(TypeMetadataResponseTy),
937
+ ARGS(SizeTy,
938
+ WitnessTablePtrTy,
939
+ TypeMetadataPtrTy,
940
+ ProtocolRequirementStructTy->getPointerTo(),
941
+ ProtocolRequirementStructTy->getPointerTo()),
942
+ ATTRS(NoUnwind, ReadNone, WillReturn),
943
+ EFFECT(MetaData)) // ?
927
944
928
945
// SWIFT_RUNTIME_EXPORT SWIFT_CC(swift)
929
946
// const WitnessTable *swift_getAssociatedConformanceWitness(
@@ -942,6 +959,16 @@ FUNCTION(GetAssociatedConformanceWitness,
942
959
ProtocolRequirementStructTy->getPointerTo()),
943
960
ATTRS(NoUnwind, ReadNone, WillReturn),
944
961
EFFECT(MetaData)) // ?
962
+ FUNCTION(GetAssociatedConformanceWitnessRelative,
963
+ swift_getAssociatedConformanceWitnessRelative, SwiftCC, AlwaysAvailable,
964
+ RETURNS(WitnessTablePtrTy),
965
+ ARGS(WitnessTablePtrTy,
966
+ TypeMetadataPtrTy,
967
+ TypeMetadataPtrTy,
968
+ ProtocolRequirementStructTy->getPointerTo(),
969
+ ProtocolRequirementStructTy->getPointerTo()),
970
+ ATTRS(NoUnwind, ReadNone, WillReturn),
971
+ EFFECT(MetaData)) // ?
945
972
946
973
// SWIFT_RUNTIME_EXPORT
947
974
// SWIFT_CC(swift) bool swift_compareProtocolConformanceDescriptors(
0 commit comments