[前][次][番号順一覧][スレッド一覧]

ruby-changes:47742

From: normal <ko1@a...>
Date: Wed, 13 Sep 2017 03:41:11 +0900 (JST)
Subject: [ruby-changes:47742] normal:r59859 (trunk): cont.c: update comment to match r59776 [ci skip]

normal	2017-09-13 03:41:05 +0900 (Wed, 13 Sep 2017)

  New Revision: 59859

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59859

  Log:
    cont.c: update comment to match r59776 [ci skip]
    
    * cont.c (fiber_switch): th->fiber => th->ec.fiber in comment

  Modified files:
    trunk/cont.c
Index: cont.c
===================================================================
--- cont.c	(revision 59858)
+++ cont.c	(revision 59859)
@@ -1526,7 +1526,7 @@ fiber_switch(rb_fiber_t *fib, int argc, https://github.com/ruby/ruby/blob/trunk/cont.c#L1526
 	    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));

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]