Commit graph

4 commits

Author SHA1 Message Date
Peter Zhu
162e13c884 Remove pointer check in vm_ccs_free
We don't need to check that the object is pointer to the GC heap in
vm_ccs_free because it is called during sweeping, which does not free
pages so it can never point to an object that is not on the GC heap.
2024-03-01 10:39:51 -05:00
Peter Zhu
edc7b73fc4 Remove pointer check in moved_or_living_object_strictly_p
We don't need to check that the object is pointer to the GC heap in
moved_or_living_object_strictly_p because it is called during reference
updating, which does not free pages so it can never point to an object
that is not on the GC heap.
2024-02-27 15:49:04 -05:00
Peter Zhu
9d8d029e32 Remove unused variable in imemo.c
The variable klass is only used in debug builds and generates a warning
on non-debug builds.
2024-02-22 15:52:57 -05:00
Peter Zhu
e65315a725 Extract imemo functions from gc.c into imemo.c 2024-02-22 11:35:09 -05:00