File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -6340,9 +6340,8 @@ mark_stack_free_cache(mark_stack_t *stack)
63406340}
63416341
63426342static void
6343- push_mark_stack (mark_stack_t * stack , VALUE data )
6343+ push_mark_stack (mark_stack_t * stack , VALUE obj )
63446344{
6345- VALUE obj = data ;
63466345 switch (BUILTIN_TYPE (obj )) {
63476346 case T_OBJECT :
63486347 case T_CLASS :
@@ -6367,7 +6366,7 @@ push_mark_stack(mark_stack_t *stack, VALUE data)
63676366 if (stack -> index == stack -> limit ) {
63686367 push_mark_stack_chunk (stack );
63696368 }
6370- stack -> chunk -> data [stack -> index ++ ] = data ;
6369+ stack -> chunk -> data [stack -> index ++ ] = obj ;
63716370 return ;
63726371
63736372 case T_NONE :
@@ -6386,8 +6385,8 @@ push_mark_stack(mark_stack_t *stack, VALUE data)
63866385 }
63876386
63886387 rb_bug ("rb_gc_mark(): unknown data type 0x%x(%p) %s" ,
6389- BUILTIN_TYPE (obj ), (void * )data ,
6390- is_pointer_to_heap (& rb_objspace , (void * )data ) ? "corrupted object" : "non object" );
6388+ BUILTIN_TYPE (obj ), (void * )obj ,
6389+ is_pointer_to_heap (& rb_objspace , (void * )obj ) ? "corrupted object" : "non object" );
63916390}
63926391
63936392static int
You can’t perform that action at this time.
0 commit comments