summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-12 18:41:05 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-12 18:41:05 +0000
commit73f3dfd3b9a3971a40ea99e25ec4969374fb77db (patch)
treec53d1c253df5e7f8f6df8083ee722e4eb45dd451
parentd212f11a004fb60534fc49374a1d5e159a14d710 (diff)
cont.c: update comment to match r59776 [ci skip]
* cont.c (fiber_switch): th->fiber => th->ec.fiber in comment git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index a8882cfc80..df4ac789bd 100644
--- a/cont.c
+++ b/cont.c
@@ -1526,7 +1526,7 @@ fiber_switch(rb_fiber_t *fib, int argc, const VALUE *argv, int is_resume)
VM_UNREACHABLE(fiber_switch);
}
else {
- /* th->fiber is also dead => switch to root fiber */
+ /* th->ec.fiber is also dead => switch to root fiber */
/* (this means we're being called from rb_fiber_terminate, */
/* and the terminated fiber's return_fiber() is already dead) */
VM_ASSERT(FIBER_SUSPENDED_P(th->root_fiber));