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:
parent
350d0aa023
commit
c3de08cb24
Notes:
git
2022-10-31 06:58:13 +00:00
1 changed files with 1 additions and 1 deletions
2
cont.c
2
cont.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue