From c3de08cb245467efb8fe3a661e9ec4a52514faf1 Mon Sep 17 00:00:00 2001 From: S-H-GAMELINKS Date: Wed, 26 Oct 2022 13:55:18 +0900 Subject: Reuse FIBER_RESUMED_P macro --- cont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cont.c') diff --git a/cont.c b/cont.c index 577a30a57a..635faf8809 100644 --- a/cont.c +++ b/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; -- cgit v1.2.1