s/print_irep/pic_dump_irep/g

This commit is contained in:
Yuichi Nishiwaki 2014-01-18 16:23:12 +09:00
parent acb513aa16
commit b62374b4b4
3 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,7 @@ struct pic_irep {
bool varg;
};
void print_irep(pic_state *, struct pic_irep *);
void pic_dump_irep(pic_state *, struct pic_irep *);
#if defined(__cplusplus)
}

View File

@ -884,7 +884,7 @@ codegen_lambda(codegen_state *state, pic_value obj)
#if VM_DEBUG
printf("* generated lambda:\n");
print_irep(pic, irep);
pic_dump_irep(pic, irep);
puts("");
#endif
@ -924,7 +924,7 @@ pic_codegen(pic_state *pic, pic_value obj)
destroy_codegen_state(pic, state);
#if VM_DEBUG
print_irep(pic, proc->u.irep);
pic_dump_irep(pic, proc->u.irep);
#endif
exit:
@ -1098,7 +1098,7 @@ print_code(pic_state *pic, struct pic_code c)
}
void
print_irep(pic_state *pic, struct pic_irep *irep)
pic_dump_irep(pic_state *pic, struct pic_irep *irep)
{
int i;

View File

@ -420,7 +420,7 @@ pic_apply(pic_state *pic, struct pic_proc *proc, pic_value argv)
puts("");
if (! proc->cfunc_p) {
printf(" irep = ");
print_irep(pic, proc->u.irep);
pic_dump_irep(pic, proc->u.irep);
}
else {
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("");
if (! proc->cfunc_p) {
printf(" irep = ");
print_irep(pic, proc->u.irep);
pic_dump_irep(pic, proc->u.irep);
}
else {
printf(" cfunc = %p\n", (void *)proc->u.cfunc);