diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-04-08 13:28:13 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 13:28:13 +0900 |
commit | 9e6e39c3512f7a962c44dc3729c98a0f8be90341 (patch) | |
tree | 901a22676d54d78240e450b64a8cd06eb1703910 /vm_dump.c | |
parent | 5ac4bf2cd87e1eb5779ca5ae7f96a1a22e8436d9 (diff) |
Merge pull request #2991 from shyouhei/ruby.h
Split ruby.h
Notes
Notes:
Merged-By: shyouhei <shyouhei@ruby-lang.org>
Diffstat (limited to 'vm_dump.c')
-rw-r--r-- | vm_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ **********************************************************************/ -#include "ruby/config.h" +#include "ruby/3/config.h" #ifdef HAVE_UCONTEXT_H # include <ucontext.h> @@ -115,7 +115,7 @@ control_frame_dump(const rb_execution_context_t *ec, const rb_control_frame_t *c if (RUBY_VM_IFUNC_P(cfp->iseq)) { iseq_name = "<ifunc>"; } - else if (SYMBOL_P(cfp->iseq)) { + else if (SYMBOL_P((VALUE)cfp->iseq)) { tmp = rb_sym2str((VALUE)cfp->iseq); iseq_name = RSTRING_PTR(tmp); snprintf(posbuf, MAX_POSBUF, ":%s", iseq_name); |