@@ -514,13 +514,17 @@ Types
514514
515515 type ::= 'Bb' // Builtin.BridgeObject
516516 type ::= 'BB' // Builtin.UnsafeValueBuffer
517- type ::= 'Bc' // Builtin.RawUnsafeContinuation
518- type ::= 'BD' // Builtin.DefaultActorStorage
519- type ::= 'Be' // Builtin.Executor
517+ #if SWIFT_RUNTIME_VERSION >= 5.5
518+ type ::= 'Bc' // Builtin.RawUnsafeContinuation
519+ type ::= 'BD' // Builtin.DefaultActorStorage
520+ type ::= 'Be' // Builtin.Executor
521+ #endif
520522 type ::= 'Bf' NATURAL '_' // Builtin.Float<n>
521523 type ::= 'Bi' NATURAL '_' // Builtin.Int<n>
522524 type ::= 'BI' // Builtin.IntLiteral
523- type ::= 'Bj' // Builtin.Job
525+ #if SWIFT_RUNTIME_VERSION >= 5.5
526+ type ::= 'Bj' // Builtin.Job
527+ #endif
524528 type ::= 'BO' // Builtin.UnknownObject (no longer a distinct type, but still used for AnyObject)
525529 type ::= 'Bo' // Builtin.NativeObject
526530 type ::= 'Bp' // Builtin.RawPointer
@@ -570,8 +574,10 @@ Types
570574 // they are mangled separately as part of the entity.
571575 params-type ::= empty-list // shortcut for no parameters
572576
573- async ::= 'Ya' // 'async' annotation on function types
574- sendable ::= 'Yb' // @Sendable on function types
577+ #if SWIFT_RUNTIME_VERSION >= 5.5
578+ async ::= 'Ya' // 'async' annotation on function types
579+ sendable ::= 'Yb' // @Sendable on function types
580+ #endif
575581 throws ::= 'K' // 'throws' annotation on function types
576582 differentiable ::= 'Yjf' // @differentiable(_forward) on function type
577583 differentiable ::= 'Yjr' // @differentiable(reverse) on function type
@@ -666,8 +672,10 @@ mangled in to disambiguate.
666672 COROUTINE-KIND ::= 'A' // yield-once coroutine
667673 COROUTINE-KIND ::= 'G' // yield-many coroutine
668674
669- SENDABLE ::= 'h' // @Sendable
670- ASYNC ::= 'H' // @async
675+ #if SWIFT_RUNTIME_VERSION >= 5.5
676+ SENDABLE ::= 'h' // @Sendable
677+ ASYNC ::= 'H' // @async
678+ #endif
671679
672680 PARAM-CONVENTION ::= 'i' // indirect in
673681 PARAM-CONVENTION ::= 'c' // indirect in constant
0 commit comments