From 26544ff6fd96c0e27aaf5f5af8fd0fc46ed9673f Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Mon, 27 Jan 2014 21:14:59 +0900 Subject: [PATCH] dump ireps recursively --- src/codegen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/codegen.c b/src/codegen.c index 82e2668c..ec8c6176 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -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]); + } }