catch up recent changes for call threaded code VM.

Fix compile errors for OPT_CALL_THREADED_CODE (in vm_opts.h).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2017-10-27 19:16:51 +00:00
parent baa849443f
commit 7e9aca4071
3 changed files with 5 additions and 4 deletions

View file

@ -140,9 +140,10 @@ rb_vm_get_insns_address_table(void)
}
static VALUE
vm_exec_core(rb_execution_cntext_t *ec, VALUE initial)
vm_exec_core(rb_execution_context_t *ec, VALUE initial)
{
register rb_control_frame_t *reg_cfp = ec->cfp;
rb_thread_t *th = rb_ec_thread_ptr(ec);
while (1) {
reg_cfp = ((rb_insn_func_t) (*GET_PC()))(ec, reg_cfp);