repo.or.cz
/
ruby.git
/
commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
9542e3d
)
[ruby/mmtk] Remove dependance on internal/object.h
author
Peter Zhu
<
[email protected]
>
Thu, 29 May 2025 14:46:22 +0000
(29 10:46 -0400)
committer
git
<
[email protected]
>
Thu, 29 May 2025 14:46:49 +0000
(29 14:46 +0000)
https://github.com/ruby/mmtk/commit/
fdc13963f0
gc/mmtk/mmtk.c
patch
|
blob
|
blame
|
history
diff --git
a/gc/mmtk/mmtk.c
b/gc/mmtk/mmtk.c
index
c9bb0ab
..
41e7f13
100644
(file)
--- a/
gc/mmtk/mmtk.c
+++ b/
gc/mmtk/mmtk.c
@@
-4,7
+4,6
@@
#include "ruby/assert.h"
#include "ruby/atomic.h"
#include "ruby/debug.h"
-#include "internal/object.h"
#include "gc/gc.h"
#include "gc/gc_impl.h"
@@
-1021,7
+1020,7
@@
rb_gc_impl_shutdown_call_finalizer(void *objspace_ptr)
if (rb_gc_shutdown_call_finalizer_p(obj)) {
rb_gc_obj_free(objspace_ptr, obj);
- RBASIC
_RESET_FLAGS(obj)
;
+ RBASIC
(obj)->flags = 0
;
}
}
mmtk_free_raw_vec_of_obj_ref(registered_candidates);