diff options
author | Damien George <damien.p.george@gmail.com> | 2019-09-02 21:35:26 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-09-26 15:27:11 +1000 |
commit | 1f7202d122a478b0c8cedcf7cf252849b2d3d881 (patch) | |
tree | 3dc90802a8704a4995cf0c41244be946b3bbe12b /py/bc.h | |
parent | 67fdfebe645d5df69cfa01b81a6776ecae3b6625 (diff) |
py/bc: Replace big opcode format table with simple macro.
Diffstat (limited to 'py/bc.h')
-rw-r--r-- | py/bc.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -128,11 +128,6 @@ const byte *mp_bytecode_print_str(const byte *ip); #if MICROPY_PERSISTENT_CODE_LOAD || MICROPY_PERSISTENT_CODE_SAVE -#define MP_OPCODE_BYTE (0) -#define MP_OPCODE_QSTR (1) -#define MP_OPCODE_VAR_UINT (2) -#define MP_OPCODE_OFFSET (3) - uint mp_opcode_format(const byte *ip, size_t *opcode_size, bool count_var_uint); #endif |