aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-06 03:53:25 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-06 03:53:25 +0000
commit91e54a9672f959509733325376c36e2c632b7436 (patch)
tree971f0f3155fdc847fc6f8e06d7b213e36a33abad
parent2130645384e18938e1995abec501eb69a246d8c9 (diff)
downloadruby-91e54a9672f959509733325376c36e2c632b7436.tar.gz
Fixed compilationn error with VMDEBUG=3.
[fix GH-1690] Patch from @musaprg(Kotaro Inoue) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--vm_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 9c91c13bd5..aa4ee247c6 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -289,7 +289,7 @@ vm_stack_dump_each(rb_thread_t *th, rb_control_frame_t *cfp)
}
}
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 {