Commit 271a91c6 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Remove unused `mrb_proc_cfunc_p()`

parent 293a7b2a
...@@ -213,12 +213,6 @@ mrb_proc_init_copy(mrb_state *mrb, mrb_value self) ...@@ -213,12 +213,6 @@ mrb_proc_init_copy(mrb_state *mrb, mrb_value self)
return self; return self;
} }
int
mrb_proc_cfunc_p(struct RProc *p)
{
return MRB_PROC_CFUNC_P(p);
}
/* 15.2.17.4.2 */ /* 15.2.17.4.2 */
static mrb_value static mrb_value
proc_arity(mrb_state *mrb, mrb_value self) proc_arity(mrb_state *mrb, mrb_value self)
......
...@@ -1004,7 +1004,7 @@ void mrb_hash_check_kdict(mrb_state *mrb, mrb_value self); ...@@ -1004,7 +1004,7 @@ void mrb_hash_check_kdict(mrb_state *mrb, mrb_value self);
MRB_API mrb_value MRB_API mrb_value
mrb_vm_exec(mrb_state *mrb, struct RProc *proc, mrb_code *pc) 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_code *pc0 = pc;
mrb_irep *irep = proc->body.irep; mrb_irep *irep = proc->body.irep;
mrb_value *pool = irep->pool; mrb_value *pool = irep->pool;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment