summaryrefslogtreecommitdiff
path: root/py/bc.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-09-02 21:35:26 +1000
committerDamien George <damien.p.george@gmail.com>2019-09-26 15:27:11 +1000
commit1f7202d122a478b0c8cedcf7cf252849b2d3d881 (patch)
tree3dc90802a8704a4995cf0c41244be946b3bbe12b /py/bc.h
parent67fdfebe645d5df69cfa01b81a6776ecae3b6625 (diff)
py/bc: Replace big opcode format table with simple macro.
Diffstat (limited to 'py/bc.h')
-rw-r--r--py/bc.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/py/bc.h b/py/bc.h
index ac9105a55..e1b39c03d 100644
--- a/py/bc.h
+++ b/py/bc.h
@@ -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