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_insnhelper.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_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 626557cb45..a253a222de 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -8,7 +8,7 @@ **********************************************************************/ -#include "ruby/config.h" +#include "ruby/3/config.h" #include <math.h> @@ -22,7 +22,6 @@ #include "internal/proc.h" #include "internal/random.h" #include "internal/variable.h" -#include "ruby/config.h" #include "variable.h" /* finish iseq array */ @@ -3213,7 +3212,7 @@ vm_search_super_method(const rb_control_frame_t *reg_cfp, struct rb_call_data *c static const struct rb_callcache *empty_cc_for_super = NULL; if (empty_cc_for_super == NULL) { empty_cc_for_super = vm_cc_new(0, NULL, vm_call_super_method); - FL_SET_RAW(empty_cc_for_super, VM_CALLCACHE_UNMARKABLE); + FL_SET_RAW((VALUE)empty_cc_for_super, VM_CALLCACHE_UNMARKABLE); rb_gc_register_mark_object((VALUE)empty_cc_for_super); } RB_OBJ_WRITE(reg_cfp->iseq, &cd->cc, empty_cc_for_super); |