diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-29 14:33:23 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-29 14:33:23 +0000 |
commit | 8a368444105946a56a1923b0bf53cb2fcc5dbb8e (patch) | |
tree | 76bec3239058b8f63015acfd9dedd2e1840f26b7 /vm_dump.c | |
parent | 6c7dca636cef4921a4ed5b66a9fc7cd751cecbe3 (diff) | |
download | ruby-8a368444105946a56a1923b0bf53cb2fcc5dbb8e.tar.gz |
use `GET_VM()` directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r-- | vm_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |