Re: [Cleanup] GC longjmp macros

From: nobu.nokada@...
Date: 2002-08-06 10:18:47 UTC
List: ruby-core #302
At Tue, 6 Aug 2002 16:58:53 +0900,
Michal Rokos wrote:
> 	Because they are not in use in gc.c? (At least I cannot see any
> 	use of these in gc.c.)

gc.c:1166-1169
    FLUSH_REGISTER_WINDOWS;
    /* This assumes that all registers are saved into the jmp_buf */
    setjmp(save_regs_gc_mark);
    mark_locations_array((VALUE*)save_regs_gc_mark, sizeof(save_regs_gc_mark) / sizeof(VALUE *));

-- 
Nobu Nakada

In This Thread