-/***********************************************************************
-* CF-only write barrier exports
-* Called by CF only.
-* The gc_zone guards are not thought to be necessary
-**********************************************************************/
-
-// Exported as very private SPI to Foundation to tell CF about
-void* objc_assign_ivar_address_CF(void *value, void *base, void **slot)
-{
- if (value && gc_zone) {
- if (auto_zone_is_valid_pointer(gc_zone, base)) {
- ptrdiff_t offset = (((char *)slot)-(char *)base);
- auto_zone_write_barrier(gc_zone, base, offset, value);
- }
- }
-
- return (*slot = value);
-}
-
-
-// Same as objc_assign_strongCast_gc, should tell Foundation to use _gc version instead
-// exported as very private SPI to Foundation to tell CF about
-void* objc_assign_strongCast_CF(void* value, void **slot)
-{
- if (value && gc_zone) {
- void *base = (void *)auto_zone_base_pointer(gc_zone, (void*)slot);
- if (base) {
- ptrdiff_t offset = (((char *)slot)-(char *)base);
- auto_zone_write_barrier(gc_zone, base, offset, value);
- }
- }
- return (*slot = value);
-}
-
-