Fix call to each_location_ptr for ASAN
This commit is contained in:
parent
ca7b3d467d
commit
89bbb9a888
2
gc.c
2
gc.c
@ -2261,7 +2261,7 @@ gc_mark_machine_stack_location_maybe(void *data, VALUE obj)
|
|||||||
&fake_frame_start, &fake_frame_end
|
&fake_frame_start, &fake_frame_end
|
||||||
);
|
);
|
||||||
if (is_fake_frame) {
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user