reorder opcodes since we added EXIT_LOOP

This commit is contained in:
K. Lange 2022-08-03 20:39:36 +09:00
parent 71dd3ecce9
commit c519298183
2 changed files with 2 additions and 1 deletions

View File

@ -114,6 +114,7 @@ src/compiler.o: src/opcodes.h
src/debug.o: src/opcodes.h
src/value.o: src/opcodes.h
src/vm.o: src/opcodes.h
src/exceptions.o: src/opcodes.h
%.o: %.c ${HEADERS}

View File

@ -22,6 +22,7 @@ SIMPLE(OP_INPLACE_FLOORDIV)
SIMPLE(OP_INPLACE_BITAND)
CONSTANT(OP_SET_GLOBAL,(void)0)
SIMPLE(OP_RAISE)
OPERAND(OP_EXIT_LOOP, (void)0)
OPERAND(OP_MAKE_STRING, (void)0)
SIMPLE(OP_INVOKE_AWAIT)
SIMPLE(OP_ADD)
@ -110,5 +111,4 @@ OPERAND(OP_EXPAND_ARGS,EXPAND_ARGS_MORE)
SIMPLE(OP_INHERIT)
JUMP(OP_CALL_ITER,+)
JUMP(OP_JUMP_IF_TRUE_OR_POP,+)
OPERAND(OP_EXIT_LOOP, (void)0)
SIMPLE(OP_TRY_ELSE)