Remove unused mrb_proc_cfunc_p()

This commit is contained in:
KOBAYASHI Shuji
2019-04-06 16:32:27 +09:00
parent 293a7b2a6e
commit 271a91c648
2 changed files with 1 additions and 7 deletions
-6
View File
@@ -213,12 +213,6 @@ mrb_proc_init_copy(mrb_state *mrb, mrb_value self)
return self;
}
int
mrb_proc_cfunc_p(struct RProc *p)
{
return MRB_PROC_CFUNC_P(p);
}
/* 15.2.17.4.2 */
static mrb_value
proc_arity(mrb_state *mrb, mrb_value self)
+1 -1
View File
@@ -1004,7 +1004,7 @@ void mrb_hash_check_kdict(mrb_state *mrb, mrb_value self);
MRB_API mrb_value
mrb_vm_exec(mrb_state *mrb, struct RProc *proc, mrb_code *pc)
{
/* mrb_assert(mrb_proc_cfunc_p(proc)) */
/* mrb_assert(MRB_PROC_CFUNC_P(proc)) */
mrb_code *pc0 = pc;
mrb_irep *irep = proc->body.irep;
mrb_value *pool = irep->pool;