Skip to content
Permalink
Browse files
Should clear method name
- Fix method name in top-level
- Fix SEGV when call Exception#backtrace if callinfo over CALLINFO_INIT_SIZE(32)
  • Loading branch information
ksss committed Sep 5, 2016
1 parent d58c258 commit a5c2e95b102dde962e97ca67468ae88e6944e33d
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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;

0 comments on commit a5c2e95

Please sign in to comment.