debug printer supports OP_LREF
This commit is contained in:
parent
6bd4747673
commit
fc152f034a
3
src/vm.c
3
src/vm.c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue