From 08337f1ed1b853d2045de569bdbcf447d5f28f64 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Tue, 4 Feb 2014 10:28:40 +0900 Subject: [PATCH] use 'pc' as little as possible --- src/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm.c b/src/vm.c index c59c7db4..2a56b35d 100644 --- a/src/vm.c +++ b/src/vm.c @@ -359,7 +359,7 @@ void print_code(pic_state *, struct pic_code); # define VM_LOOP JUMP; # define CASE(x) L_##x: OPCODE_EXEC_HOOK; # define NEXT pc++; JUMP; -# define JUMP c = *pc; goto *oplabels[pc->insn]; +# define JUMP c = *pc; goto *oplabels[c.insn]; # define VM_LOOP_END #else # define VM_LOOP for (;;) { c = *pc; switch (c.insn) {