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

ruby-changes:47639

From: ko1 <ko1@a...>
Date: Wed, 6 Sep 2017 12:18:24 +0900 (JST)
Subject: [ruby-changes:47639] ko1:r59755 (trunk): th is not defined

ko1	2017-09-06 12:18:19 +0900 (Wed, 06 Sep 2017)

  New Revision: 59755

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

  Log:
    th is not defined

  Modified files:
    trunk/vm.c
Index: vm.c
===================================================================
--- vm.c	(revision 59754)
+++ vm.c	(revision 59755)
@@ -2380,7 +2380,7 @@ rb_execution_context_mark(const rb_execu https://github.com/ruby/ruby/blob/trunk/vm.c#L2380
 	while (cfp != limit_cfp) {
 #if VM_CHECK_MODE > 0
 	    const VALUE *ep = cfp->ep;
-	    VM_ASSERT(!!VM_ENV_FLAGS(ep, VM_ENV_FLAG_ESCAPED) == vm_ep_in_heap_p_(th, ep));
+	    VM_ASSERT(!!VM_ENV_FLAGS(ep, VM_ENV_FLAG_ESCAPED) == vm_ep_in_heap_p_(GET_THREAD(), ep));
 #endif
 	    rb_gc_mark(cfp->self);
 	    rb_gc_mark((VALUE)cfp->iseq);

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

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