Skip to content

Commit ea45c44

Browse files
committed
make headers match
1 parent cc8ad9a commit ea45c44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gc-heap-snapshot.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void _gc_heap_snapshot_record_task_to_frame_edge(jl_task_t *from, jl_gcframe_t *
2020
void _gc_heap_snapshot_record_frame_to_frame_edge(jl_gcframe_t *from, jl_gcframe_t *to) JL_NOTSAFEPOINT;
2121
void _gc_heap_snapshot_record_array_edge(jl_value_t *from, jl_value_t *to, size_t index) JL_NOTSAFEPOINT;
2222
void _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
}
7171
static inline void gc_heap_snapshot_record_internal_edge(jl_value_t *from, jl_value_t *to) JL_NOTSAFEPOINT {

0 commit comments

Comments
 (0)