ruby-changes:47641
From: hsbt <ko1@a...>
Date: Wed, 6 Sep 2017 12:53:29 +0900 (JST)
Subject: [ruby-changes:47641] hsbt:r59757 (trunk): Fixed compilationn error with VMDEBUG=3.
hsbt 2017-09-06 12:53:25 +0900 (Wed, 06 Sep 2017) New Revision: 59757 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59757 Log: Fixed compilationn error with VMDEBUG=3. [fix GH-1690] Patch from @musaprg(Kotaro Inoue) Modified files: trunk/vm_dump.c Index: vm_dump.c =================================================================== --- vm_dump.c (revision 59756) +++ vm_dump.c (revision 59757) @@ -289,7 +289,7 @@ vm_stack_dump_each(rb_thread_t *th, rb_c https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L289 } } else if (VM_FRAME_FINISHED_P(cfp)) { - if ((th)->stack + (th)->stack_size > (VALUE *)(cfp + 1)) { + if ((th)->ec.vm_stack + (th)->ec.vm_stack_size > (VALUE *)(cfp + 1)) { vm_stack_dump_each(th, cfp + 1); } else { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/