Fix call to each_location_ptr for ASAN

This commit is contained in:
Peter Zhu 2024-08-30 10:45:25 -04:00
parent ca7b3d467d
commit 89bbb9a888

2
gc.c
View File

@ -2261,7 +2261,7 @@ gc_mark_machine_stack_location_maybe(void *data, VALUE obj)
&fake_frame_start, &fake_frame_end
);
if (is_fake_frame) {
each_location_ptr(ec, fake_frame_start, fake_frame_end, rb_gc_impl_mark_maybe, objspace);
each_location_ptr(fake_frame_start, fake_frame_end, rb_gc_impl_mark_maybe, objspace);
}
#endif
}