aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index b00140bee6..2c917e4faa 100644
--- a/gc.c
+++ b/gc.c
@@ -2851,8 +2851,6 @@ is_pointer_to_heap(rb_objspace_t *objspace, void *ptr)
page = heap_page_for_ptr(objspace, (uintptr_t)ptr);
if (page) {
- GC_ASSERT(page == GET_HEAP_PAGE(ptr));
-
RB_DEBUG_COUNTER_INC(gc_isptr_maybe);
if (page->flags.in_tomb) {
return FALSE;