use 'pc' as little as possible
This commit is contained in:
parent
0947173c32
commit
08337f1ed1
2
src/vm.c
2
src/vm.c
|
@ -359,7 +359,7 @@ void print_code(pic_state *, struct pic_code);
|
||||||
# define VM_LOOP JUMP;
|
# define VM_LOOP JUMP;
|
||||||
# define CASE(x) L_##x: OPCODE_EXEC_HOOK;
|
# define CASE(x) L_##x: OPCODE_EXEC_HOOK;
|
||||||
# define NEXT pc++; JUMP;
|
# define NEXT pc++; JUMP;
|
||||||
# define JUMP c = *pc; goto *oplabels[pc->insn];
|
# define JUMP c = *pc; goto *oplabels[c.insn];
|
||||||
# define VM_LOOP_END
|
# define VM_LOOP_END
|
||||||
#else
|
#else
|
||||||
# define VM_LOOP for (;;) { c = *pc; switch (c.insn) {
|
# define VM_LOOP for (;;) { c = *pc; switch (c.insn) {
|
||||||
|
|
Loading…
Reference in New Issue