dump ireps recursively

This commit is contained in:
Yuichi Nishiwaki 2014-01-27 21:14:59 +09:00
parent 15ca95eb8f
commit 26544ff6fd
1 changed files with 4 additions and 0 deletions

View File

@ -1572,4 +1572,8 @@ pic_dump_irep(pic_state *pic, struct pic_irep *irep)
for (i = 0; i < irep->clen; ++i) {
print_code(pic, irep->code[i]);
}
for (i = 0; i < irep->ilen; ++i) {
pic_dump_irep(pic, irep->irep[i]);
}
}