diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-02-27 12:28:26 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-02-27 14:52:02 -0500 |
| commit | 08731182b8b1533e3a98e107fdd98ec7dc3194eb (patch) | |
| tree | 5e61469c73e61cec75f4a0b0d658197bb82ed111 | |
| parent | 3c44f6da6c8dab09b7724e5456eaad0d1e3cb12e (diff) | |
Change is_garbage_object to return a bool
| -rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4373,7 +4373,7 @@ rb_objspace_call_finalizer(rb_objspace_t *objspace) } /* garbage objects will be collected soon. */ -static inline int +static inline bool is_garbage_object(rb_objspace_t *objspace, VALUE ptr) { return is_lazy_sweeping(objspace) && GET_HEAP_PAGE(ptr)->flags.before_sweep && |
