ruby-changes:47446
From: nobu <ko1@a...>
Date: Thu, 10 Aug 2017 13:04:03 +0900 (JST)
Subject: [ruby-changes:47446] nobu:r59562 (trunk): cont.c: fix up r59557 for !FIBER_USE_NATIVE
nobu 2017-08-10 13:03:48 +0900 (Thu, 10 Aug 2017) New Revision: 59562 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59562 Log: cont.c: fix up r59557 for !FIBER_USE_NATIVE Modified files: trunk/cont.c Index: cont.c =================================================================== --- cont.c (revision 59561) +++ cont.c (revision 59562) @@ -1422,9 +1422,11 @@ fiber_store(rb_fiber_t *next_fib, rb_thr https://github.com/ruby/ruby/blob/trunk/cont.c#L1422 VM_ASSERT(FIBER_RESUMED_P(fib) || FIBER_TERMINATED_P(fib)); VM_ASSERT(FIBER_RUNNABLE_P(next_fib)); +#if FIBER_USE_NATIVE if (FIBER_CREATED_P(next_fib)) { fiber_initialize_machine_stack_context(next_fib, th->vm->default_params.fiber_machine_stack_size); } +#endif if (FIBER_RESUMED_P(fib)) fiber_status_set(fib, FIBER_SUSPENDED); fiber_status_set(next_fib, FIBER_RESUMED); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/