Skip to content

Commit c3de08c

Browse files
S-H-GAMELINKSioquatix
authored andcommitted
Reuse FIBER_RESUMED_P macro
1 parent 350d0aa commit c3de08c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cont.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2269,7 +2269,7 @@ root_fiber_alloc(rb_thread_t *th)
22692269

22702270
VM_ASSERT(DATA_PTR(fiber_value) == NULL);
22712271
VM_ASSERT(fiber->cont.type == FIBER_CONTEXT);
2272-
VM_ASSERT(fiber->status == FIBER_RESUMED);
2272+
VM_ASSERT(FIBER_RESUMED_P(fiber));
22732273

22742274
th->root_fiber = fiber;
22752275
DATA_PTR(fiber_value) = fiber;

0 commit comments

Comments
 (0)