Skip to content

Commit fdc1396

Browse files
committed
Remove dependance on internal/object.h
1 parent 32b97f5 commit fdc1396

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gc/mmtk/mmtk.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include "ruby/assert.h"
55
#include "ruby/atomic.h"
66
#include "ruby/debug.h"
7-
#include "internal/object.h"
87

98
#include "gc/gc.h"
109
#include "gc/gc_impl.h"
@@ -1021,7 +1020,7 @@ rb_gc_impl_shutdown_call_finalizer(void *objspace_ptr)
10211020

10221021
if (rb_gc_shutdown_call_finalizer_p(obj)) {
10231022
rb_gc_obj_free(objspace_ptr, obj);
1024-
RBASIC_RESET_FLAGS(obj);
1023+
RBASIC(obj)->flags = 0;
10251024
}
10261025
}
10271026
mmtk_free_raw_vec_of_obj_ref(registered_candidates);

0 commit comments

Comments
 (0)