Skip to content

Commit 5ad9e14

Browse files
committed
Update RB_GC_OBJECT_METADATA_ENTRY_COUNT
In cb1ea54 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, bdb2595 already caused the count to be off by one, so I had to increment it by 2.
1 parent f501d11 commit 5ad9e14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gc/default/default.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6191,7 +6191,7 @@ rb_gc_impl_writebarrier_remember(void *objspace_ptr, VALUE obj)
61916191
}
61926192
}
61936193

6194-
#define RB_GC_OBJECT_METADATA_ENTRY_COUNT 7
6194+
#define RB_GC_OBJECT_METADATA_ENTRY_COUNT 9
61956195
static struct rb_gc_object_metadata_entry object_metadata_entries[RB_GC_OBJECT_METADATA_ENTRY_COUNT + 1];
61966196

61976197
struct rb_gc_object_metadata_entry *

0 commit comments

Comments
 (0)