diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-01-26 09:45:22 -0500 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-01-26 09:45:22 -0500 |
commit | e7141630115ef9b0d3042af761fe0afabfcd578c (patch) | |
tree | a837cc792cade686f0a561c63fdd3e0d109cdfa0 | |
parent | bffd6cbd97dd61e347a8f7de36266809444fb4c1 (diff) | |
download | ruby-e7141630115ef9b0d3042af761fe0afabfcd578c.tar.gz |
Fix typo in assertion in gc.c
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2380,7 +2380,7 @@ ractor_cached_free_region(rb_objspace_t *objspace, rb_ractor_t *cr, size_t size_ asan_unpoison_object(obj, true); #endif #if RGENGC_CHECK_MODE - GC_ASSERT(cache->using_page.slot_size == (short)stride); + GC_ASSERT(cache->using_page->slot_size == (short)stride); // zero clear MEMZERO((char *)obj, char, stride); #endif |