1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Reuse FIBER_RESUMED_P macro

This commit is contained in:
S-H-GAMELINKS 2022-10-26 13:55:18 +09:00 committed by Samuel Williams
parent 350d0aa023
commit c3de08cb24
Notes: git 2022-10-31 06:58:13 +00:00

2
cont.c
View file

@ -2269,7 +2269,7 @@ root_fiber_alloc(rb_thread_t *th)
VM_ASSERT(DATA_PTR(fiber_value) == NULL);
VM_ASSERT(fiber->cont.type == FIBER_CONTEXT);
VM_ASSERT(fiber->status == FIBER_RESUMED);
VM_ASSERT(FIBER_RESUMED_P(fiber));
th->root_fiber = fiber;
DATA_PTR(fiber_value) = fiber;