mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove unused mrb_proc_cfunc_p()
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user