s/print_irep/pic_dump_irep/g
This commit is contained in:
parent
acb513aa16
commit
b62374b4b4
|
@ -66,7 +66,7 @@ struct pic_irep {
|
||||||
bool varg;
|
bool varg;
|
||||||
};
|
};
|
||||||
|
|
||||||
void print_irep(pic_state *, struct pic_irep *);
|
void pic_dump_irep(pic_state *, struct pic_irep *);
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
|
|
|
@ -884,7 +884,7 @@ codegen_lambda(codegen_state *state, pic_value obj)
|
||||||
|
|
||||||
#if VM_DEBUG
|
#if VM_DEBUG
|
||||||
printf("* generated lambda:\n");
|
printf("* generated lambda:\n");
|
||||||
print_irep(pic, irep);
|
pic_dump_irep(pic, irep);
|
||||||
puts("");
|
puts("");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -924,7 +924,7 @@ pic_codegen(pic_state *pic, pic_value obj)
|
||||||
destroy_codegen_state(pic, state);
|
destroy_codegen_state(pic, state);
|
||||||
|
|
||||||
#if VM_DEBUG
|
#if VM_DEBUG
|
||||||
print_irep(pic, proc->u.irep);
|
pic_dump_irep(pic, proc->u.irep);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
|
@ -1098,7 +1098,7 @@ print_code(pic_state *pic, struct pic_code c)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
print_irep(pic_state *pic, struct pic_irep *irep)
|
pic_dump_irep(pic_state *pic, struct pic_irep *irep)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
4
src/vm.c
4
src/vm.c
|
@ -420,7 +420,7 @@ pic_apply(pic_state *pic, struct pic_proc *proc, pic_value argv)
|
||||||
puts("");
|
puts("");
|
||||||
if (! proc->cfunc_p) {
|
if (! proc->cfunc_p) {
|
||||||
printf(" irep = ");
|
printf(" irep = ");
|
||||||
print_irep(pic, proc->u.irep);
|
pic_dump_irep(pic, proc->u.irep);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
printf(" cfunc = %p\n", (void *)proc->u.cfunc);
|
printf(" cfunc = %p\n", (void *)proc->u.cfunc);
|
||||||
|
@ -553,7 +553,7 @@ pic_apply(pic_state *pic, struct pic_proc *proc, pic_value argv)
|
||||||
puts("");
|
puts("");
|
||||||
if (! proc->cfunc_p) {
|
if (! proc->cfunc_p) {
|
||||||
printf(" irep = ");
|
printf(" irep = ");
|
||||||
print_irep(pic, proc->u.irep);
|
pic_dump_irep(pic, proc->u.irep);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
printf(" cfunc = %p\n", (void *)proc->u.cfunc);
|
printf(" cfunc = %p\n", (void *)proc->u.cfunc);
|
||||||
|
|
Loading…
Reference in New Issue