We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
WIDEVALUE
VALUE
1 parent 89fce7e commit a61aa60Copy full SHA for a61aa60
1 file changed
time.c
@@ -1891,7 +1891,7 @@ time_mark(void *ptr)
1891
{
1892
struct time_object *tobj = ptr;
1893
if (!FIXWV_P(tobj->timew)) {
1894
- rb_gc_mark_movable(WIDEVAL_GET(tobj->timew));
+ rb_gc_mark_movable(w2v(tobj->timew));
1895
}
1896
rb_gc_mark_movable(tobj->vtm.year);
1897
rb_gc_mark_movable(tobj->vtm.subsecx);
@@ -1904,7 +1904,7 @@ time_compact(void *ptr)
1904
1905
1906
1907
- WIDEVAL_GET(tobj->timew) = rb_gc_location(WIDEVAL_GET(tobj->timew));
+ WIDEVAL_GET(tobj->timew) = WIDEVAL_WRAP(rb_gc_location(w2v(tobj->timew)));
1908
1909
1910
tobj->vtm.year = rb_gc_location(tobj->vtm.year);
0 commit comments