mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
use GET_VM()
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8702a33dd2
commit
b0d79e1072
1 changed files with 1 additions and 1 deletions
|
@ -1074,7 +1074,7 @@ const char *ruby_fill_thread_id_string(rb_nativethread_id_t thid, rb_thread_id_s
|
||||||
void
|
void
|
||||||
rb_vmdebug_stack_dump_all_threads(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;
|
rb_thread_t *th = NULL;
|
||||||
|
|
||||||
list_for_each(&vm->living_threads, th, vmlt_node) {
|
list_for_each(&vm->living_threads, th, vmlt_node) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue