From b0d79e1072a72b6d23c70bec313d36c9cb8f8124 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 29 Oct 2017 14:33:23 +0000 Subject: use `GET_VM()` directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_dump.c b/vm_dump.c index 031b13bbf9..ff27d7c0a9 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -1074,7 +1074,7 @@ const char *ruby_fill_thread_id_string(rb_nativethread_id_t thid, rb_thread_id_s 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) { -- cgit v1.2.3