Update RB_GC_OBJECT_METADATA_ENTRY_COUNT

In cb1ea54bbf6cdf49c53f42720fec1a151069810c I added one more
metadata flag, but didn't notice `RB_GC_OBJECT_METADATA_ENTRY_COUNT`
had to be incremented.

This should fix ASAN builds.

Interestingly, bdb25959fb047af0358f33d7327b7752dca14aa4 already
caused the count to be off by one, so I had to increment it by
2.
This commit is contained in:
Jean Boussier 2025-04-25 10:35:18 +02:00
parent f501d114ad
commit 62a7f17157
Notes: git 2025-04-25 09:17:49 +00:00

View File

@ -6191,7 +6191,7 @@ rb_gc_impl_writebarrier_remember(void *objspace_ptr, VALUE obj)
}
}
#define RB_GC_OBJECT_METADATA_ENTRY_COUNT 7
#define RB_GC_OBJECT_METADATA_ENTRY_COUNT 9
static struct rb_gc_object_metadata_entry object_metadata_entries[RB_GC_OBJECT_METADATA_ENTRY_COUNT + 1];
struct rb_gc_object_metadata_entry *