aboutsummaryrefslogtreecommitdiffstats
path: root/cont.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-06 21:51:10 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-06 21:51:10 +0000
commita74c888c7968b203321d70fdd80403f588dba80b (patch)
tree61e8d74a52ba1e2ea46787f3411cbe36764d7fae /cont.c
parentc5a9b58c8c3c3d541cb5e9b6714a4a0aa5fa73ce (diff)
downloadruby-a74c888c7968b203321d70fdd80403f588dba80b.tar.gz
cont.c: update comment for ec refactoring
* cont.c (fiber_switch): update comment (ec.fiber => ec->fiber_ptr) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index 286ce17565..6e8f95de54 100644
--- a/cont.c
+++ b/cont.c
@@ -1655,7 +1655,7 @@ fiber_switch(rb_fiber_t *fib, int argc, const VALUE *argv, int is_resume)
VM_UNREACHABLE(fiber_switch);
}
else {
- /* th->ec.fiber is also dead => switch to root fiber */
+ /* th->ec->fiber_ptr 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));