Project

General

Profile

Bug #15362 » 0001-Avoid-GCing-dead-stack-after-switching-away-from-a-f.patch

alanwu (Alan Wu), 11/30/2018 08:22 PM

View differences:

cont.c
return fib->cont.value;
#else /* FIBER_USE_NATIVE */
fib->cont.saved_ec.machine.stack_end = NULL;
if (ruby_setjmp(fib->cont.jmpbuf)) {
/* restored */
fib = th->ec->fiber_ptr;
(1-1/2)