debug printer supports OP_LREF

This commit is contained in:
Yuichi Nishiwaki 2013-10-16 17:49:07 +09:00
parent 6bd4747673
commit fc152f034a
1 changed files with 3 additions and 0 deletions

View File

@ -161,6 +161,9 @@ print_irep(pic_state *pic, struct pic_irep *irep)
case OP_GSET: case OP_GSET:
printf("OP_GSET\t%p\n", irep->code[i].u.gvar); printf("OP_GSET\t%p\n", irep->code[i].u.gvar);
break; break;
case OP_LREF:
printf("OP_LREF\t%d\n", irep->code[i].u.i);
break;
case OP_JMP: case OP_JMP:
printf("OP_JMP\t%d\n", irep->code[i].u.i); printf("OP_JMP\t%d\n", irep->code[i].u.i);
break; break;