@@ -20,7 +20,7 @@ void _gc_heap_snapshot_record_task_to_frame_edge(jl_task_t *from, jl_gcframe_t *
2020void _gc_heap_snapshot_record_frame_to_frame_edge (jl_gcframe_t * from , jl_gcframe_t * to ) JL_NOTSAFEPOINT ;
2121void _gc_heap_snapshot_record_array_edge (jl_value_t * from , jl_value_t * to , size_t index ) JL_NOTSAFEPOINT ;
2222void _gc_heap_snapshot_record_module_edge (jl_module_t * from , jl_value_t * to , char * name ) JL_NOTSAFEPOINT ;
23- void _gc_heap_snapshot_record_object_edge (jl_value_t * from , jl_value_t * to , void * slot ) JL_NOTSAFEPOINT ;
23+ void _gc_heap_snapshot_record_object_edge (jl_value_t * from , jl_value_t * to , size_t field_index ) JL_NOTSAFEPOINT ;
2424// Used for objects managed by GC, but which aren't exposed in the julia object, so have no
2525// field or index. i.e. they're not reacahable from julia code, but we _will_ hit them in
2626// the GC mark phase (so we can check their type tag to get the size).
@@ -63,9 +63,9 @@ static inline void gc_heap_snapshot_record_module_edge(jl_module_t *from, jl_val
6363 _gc_heap_snapshot_record_module_edge (from , to , name );
6464 }
6565}
66- static inline void gc_heap_snapshot_record_object_edge (jl_value_t * from , jl_value_t * to , void * slot ) JL_NOTSAFEPOINT {
66+ static inline void gc_heap_snapshot_record_object_edge (jl_value_t * from , jl_value_t * to , size_t field_index ) JL_NOTSAFEPOINT {
6767 if (__unlikely (gc_heap_snapshot_enabled && prev_sweep_full )) {
68- _gc_heap_snapshot_record_object_edge (from , to , slot );
68+ _gc_heap_snapshot_record_object_edge (from , to , field_index );
6969 }
7070}
7171static inline void gc_heap_snapshot_record_internal_edge (jl_value_t * from , jl_value_t * to ) JL_NOTSAFEPOINT {
0 commit comments