Project

General

Profile

Bug #10407 ยป 0001-Update-gc-stack-marking-for-m68k.patch

naruse (Yui NARUSE), 10/21/2014 02:45 AM

View differences:

ChangeLog
Mon Oct 20 20:31:11 2014 Andreas Schwab <schwab@suse.de>
* gc.c (mark_current_machine_context) [__mc68000__]: Update stack
marking.
(rb_gc_mark_machine_stack) [__mc68000__]: Also handle it here.
Mon Oct 20 19:06:06 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* lib/unicode_normalize.rb: revert r48046. The s in sIndex
gc.c
rb_gc_mark_locations(th->machine.register_stack_start, th->machine.register_stack_end);
#endif
#if defined(__mc68000__)
mark_locations_array(objspace, (VALUE*)((char*)STACK_END + 2),
(STACK_START - STACK_END));
rb_gc_mark_locations((VALUE*)((char*)stack_start + 2),
(VALUE*)((char*)stack_end - 2));
#endif
}
......
#ifdef __ia64
rb_gc_mark_locations(th->machine.register_stack_start, th->machine.register_stack_end);
#endif
#if defined(__mc68000__)
rb_gc_mark_locations((VALUE*)((char*)stack_start + 2),
(VALUE*)((char*)stack_end - 2));
#endif
}
void
    (1-1/1)