mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove useless attribute set in init_mark_stack
init_mark_stack already clears the mark stack so we do not need to set the attribute cache_size to zero.
This commit is contained in:
parent
26888d5e03
commit
f1f08f5b69
Notes:
git
2021-04-15 23:10:50 +09:00
1 changed files with 0 additions and 1 deletions
1
gc.c
1
gc.c
|
@ -5574,7 +5574,6 @@ init_mark_stack(mark_stack_t *stack)
|
|||
|
||||
MEMZERO(stack, mark_stack_t, 1);
|
||||
stack->index = stack->limit = STACK_CHUNK_SIZE;
|
||||
stack->cache_size = 0;
|
||||
|
||||
for (i=0; i < 4; i++) {
|
||||
add_stack_chunk_cache(stack, stack_chunk_alloc());
|
||||
|
|
Loading…
Add table
Reference in a new issue