py/bc0: Order opcodes into groups based on their size and format.

This commit is contained in:
Damien George
2019-09-02 20:24:01 +10:00
parent fe4e1fe4b9
commit 5889cf58db
5 changed files with 111 additions and 96 deletions

View File

@@ -172,13 +172,13 @@ typedef enum {
MP_F_BINARY_OP,
MP_F_BUILD_TUPLE,
MP_F_BUILD_LIST,
MP_F_LIST_APPEND,
MP_F_BUILD_MAP,
MP_F_STORE_MAP,
#if MICROPY_PY_BUILTINS_SET
MP_F_STORE_SET,
MP_F_BUILD_SET,
MP_F_STORE_SET,
#endif
MP_F_LIST_APPEND,
MP_F_STORE_MAP,
MP_F_MAKE_FUNCTION_FROM_RAW_CODE,
MP_F_NATIVE_CALL_FUNCTION_N_KW,
MP_F_CALL_METHOD_N_KW,