From fc152f034afadd25e9a812adccd452c16797e54c Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Wed, 16 Oct 2013 17:49:07 +0900 Subject: [PATCH] debug printer supports OP_LREF --- src/vm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vm.c b/src/vm.c index 7e731f29..4010017d 100644 --- a/src/vm.c +++ b/src/vm.c @@ -161,6 +161,9 @@ print_irep(pic_state *pic, struct pic_irep *irep) case OP_GSET: printf("OP_GSET\t%p\n", irep->code[i].u.gvar); break; + case OP_LREF: + printf("OP_LREF\t%d\n", irep->code[i].u.i); + break; case OP_JMP: printf("OP_JMP\t%d\n", irep->code[i].u.i); break;