ruby-changes:48433
From: ko1 <ko1@a...>
Date: Sun, 29 Oct 2017 23:33:28 +0900 (JST)
Subject: [ruby-changes:48433] ko1:r60547 (trunk): use `GET_VM()` directly.
ko1 2017-10-29 23:33:23 +0900 (Sun, 29 Oct 2017) New Revision: 60547 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60547 Log: use `GET_VM()` directly. Modified files: trunk/vm_dump.c Index: vm_dump.c =================================================================== --- vm_dump.c (revision 60546) +++ vm_dump.c (revision 60547) @@ -1074,7 +1074,7 @@ const char *ruby_fill_thread_id_string(r https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L1074 void rb_vmdebug_stack_dump_all_threads(void) { - rb_vm_t *vm = GET_THREAD()->vm; + rb_vm_t *vm = GET_VM(); rb_thread_t *th = NULL; list_for_each(&vm->living_threads, th, vmlt_node) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/