Merge pull request #3204 from ksss/mid

Should clear method name
This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-09-05 22:36:19 +09:00
committed by GitHub
+1
View File
@@ -2434,6 +2434,7 @@ mrb_top_run(mrb_state *mrb, struct RProc *proc, mrb_value self, unsigned int sta
return mrb_vm_run(mrb, proc, self, stack_keep);
}
ci = cipush(mrb);
ci->mid = 0;
ci->nregs = 1; /* protect the receiver */
ci->acc = CI_ACC_SKIP;
ci->target_class = mrb->object_class;