@@ -258,12 +258,6 @@ FUNCTION(NativeNonAtomicStrongRetain, swift_nonatomic_retain, C_CC,
258
258
ARGS(RefCountedPtrTy),
259
259
ATTRS(NoUnwind, FirstParamReturned))
260
260
261
- // void *swift_tryPin(void *ptr);
262
- FUNCTION(NativeTryPin, swift_tryPin, C_CC,
263
- RETURNS(RefCountedPtrTy),
264
- ARGS(RefCountedPtrTy),
265
- ATTRS(NoUnwind))
266
-
267
261
// void swift_nonatomic_release(void *ptr);
268
262
FUNCTION(NativeNonAtomicStrongRelease, swift_nonatomic_release, C_CC,
269
263
RETURNS(VoidTy),
@@ -276,30 +270,12 @@ FUNCTION(NativeTryRetain, swift_tryRetain, C_CC,
276
270
ARGS(RefCountedPtrTy),
277
271
ATTRS(NoUnwind))
278
272
279
- // void swift_unpin(void *ptr);
280
- FUNCTION(NativeUnpin, swift_unpin, C_CC,
281
- RETURNS(VoidTy),
282
- ARGS(RefCountedPtrTy),
283
- ATTRS(NoUnwind))
284
-
285
273
// bool swift_isDeallocating(void *ptr);
286
274
FUNCTION(IsDeallocating, swift_isDeallocating, C_CC,
287
275
RETURNS(Int1Ty),
288
276
ARGS(RefCountedPtrTy),
289
277
ATTRS(NoUnwind, ZExt))
290
278
291
- // void *swift_nonatomic_tryPin(void *ptr);
292
- FUNCTION(NonAtomicNativeTryPin, swift_nonatomic_tryPin, C_CC,
293
- RETURNS(RefCountedPtrTy),
294
- ARGS(RefCountedPtrTy),
295
- ATTRS(NoUnwind))
296
-
297
- // void swift_nonatomic_unpin(void *ptr);
298
- FUNCTION(NonAtomicNativeUnpin, swift_nonatomic_unpin, C_CC,
299
- RETURNS(VoidTy),
300
- ARGS(RefCountedPtrTy),
301
- ATTRS(NoUnwind))
302
-
303
279
// void *swift_unknownObjectRetain(void *ptr);
304
280
FUNCTION(UnknownObjectRetain, swift_unknownObjectRetain, C_CC,
305
281
RETURNS(UnknownRefCountedPtrTy),
@@ -459,14 +435,6 @@ FUNCTION(IsUniquelyReferencedNonObjC_nonNull,
459
435
ARGS(UnknownRefCountedPtrTy),
460
436
ATTRS(NoUnwind, ZExt))
461
437
462
- // bool swift_isUniquelyReferencedOrPinnedNonObjC_nonNull(const void *);
463
- FUNCTION(IsUniquelyReferencedOrPinnedNonObjC_nonNull,
464
- swift_isUniquelyReferencedOrPinnedNonObjC_nonNull,
465
- C_CC,
466
- RETURNS(Int1Ty),
467
- ARGS(UnknownRefCountedPtrTy),
468
- ATTRS(NoUnwind, ZExt))
469
-
470
438
// bool swift_isUniquelyReferencedNonObjC_nonNull_bridgeObject(
471
439
// uintptr_t bits);
472
440
FUNCTION(IsUniquelyReferencedNonObjC_nonNull_bridgeObject,
@@ -476,30 +444,13 @@ FUNCTION(IsUniquelyReferencedNonObjC_nonNull_bridgeObject,
476
444
ARGS(BridgeObjectPtrTy),
477
445
ATTRS(NoUnwind, ZExt))
478
446
479
- // bool swift_isUniquelyReferencedOrPinnedNonObjC_nonNull_bridgeObject(
480
- // uintptr_t bits);
481
- FUNCTION(IsUniquelyReferencedOrPinnedNonObjC_nonNull_bridgeObject,
482
- swift_isUniquelyReferencedOrPinnedNonObjC_nonNull_bridgeObject,
483
- C_CC,
484
- RETURNS(Int1Ty),
485
- ARGS(BridgeObjectPtrTy),
486
- ATTRS(NoUnwind, ZExt))
487
-
488
447
// bool swift_isUniquelyReferenced_native(const struct HeapObject *);
489
448
FUNCTION(IsUniquelyReferenced_native, swift_isUniquelyReferenced_native,
490
449
C_CC,
491
450
RETURNS(Int1Ty),
492
451
ARGS(RefCountedPtrTy),
493
452
ATTRS(NoUnwind, ZExt))
494
453
495
- // bool swift_isUniquelyReferencedOrPinned_native(const struct HeapObject *);
496
- FUNCTION(IsUniquelyReferencedOrPinned_native,
497
- swift_isUniquelyReferencedOrPinned_native,
498
- C_CC,
499
- RETURNS(Int1Ty),
500
- ARGS(RefCountedPtrTy),
501
- ATTRS(NoUnwind, ZExt))
502
-
503
454
// bool swift_isUniquelyReferenced_nonNull_native(const struct HeapObject *);
504
455
FUNCTION(IsUniquelyReferenced_nonNull_native,
505
456
swift_isUniquelyReferenced_nonNull_native,
@@ -508,15 +459,6 @@ FUNCTION(IsUniquelyReferenced_nonNull_native,
508
459
ARGS(RefCountedPtrTy),
509
460
ATTRS(NoUnwind, ZExt))
510
461
511
- // bool swift_isUniquelyReferencedOrPinned_nonNull_native(
512
- // const struct HeapObject *);
513
- FUNCTION(IsUniquelyReferencedOrPinned_nonNull_native,
514
- swift_isUniquelyReferencedOrPinned_nonNull_native,
515
- C_CC,
516
- RETURNS(Int1Ty),
517
- ARGS(RefCountedPtrTy),
518
- ATTRS(NoUnwind, ZExt))
519
-
520
462
// bool swift_isEscapingClosureAtFileLocation(const struct HeapObject *object,
521
463
// const unsigned char *filename,
522
464
// int32_t filenameLength,
0 commit comments