mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix a function name in an error message
This commit is contained in:
parent
04951a1226
commit
29877d944e
Notes:
git
2021-11-26 20:13:16 +09:00
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -2433,7 +2433,7 @@ size_pool_idx_for_size(size_t size)
|
|||
/* size_pool_idx is ceil(log2(slot_count)) */
|
||||
size_t size_pool_idx = 64 - nlz_int64(slot_count - 1);
|
||||
if (size_pool_idx >= SIZE_POOL_COUNT) {
|
||||
rb_bug("size_pool_for_size: allocation size too large");
|
||||
rb_bug("size_pool_idx_for_size: allocation size too large");
|
||||
}
|
||||
|
||||
return size_pool_idx;
|
||||
|
|
Loading…
Add table
Reference in a new issue