[bugfix] old proc#cfunc_p property remained in debug block
This commit is contained in:
parent
8586dc9057
commit
7a1c04f1fa
4
src/vm.c
4
src/vm.c
|
@ -574,12 +574,12 @@ pic_apply(pic_state *pic, struct pic_proc *proc, pic_value argv)
|
|||
pic_debug(pic, pic->sp[-c.u.i + i]);
|
||||
}
|
||||
puts(")");
|
||||
if (! proc->cfunc_p) {
|
||||
if (! pic_proc_func_p(proc)) {
|
||||
printf(" irep = ");
|
||||
pic_dump_irep(pic, proc->u.irep);
|
||||
}
|
||||
else {
|
||||
printf(" cfunc = %p\n", (void *)proc->u.cfunc);
|
||||
printf(" cfunc = %p\n", (void *)proc->u.func.f);
|
||||
}
|
||||
puts("== end\n");
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue