mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
530514fbbe
commit
3f799727b5
1 changed files with 1 additions and 1 deletions
2
cont.c
2
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));
|
||||
|
|
Loading…
Reference in a new issue