diff options
| author | Damien George <damien@micropython.org> | 2022-05-30 11:08:54 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-06-07 13:32:38 +1000 |
| commit | f506bf342af5994a2b8aa0f005e2a8fbf06b60b5 (patch) | |
| tree | 3ded60de4e4acdafc5c1e92b512c72906cc10bcd /py/bc.h | |
| parent | b37b57821476d9ea80cdcc89d325dcabded3ffb7 (diff) | |
py/bc: Remove unused mp_opcode_format function.
This was made redundant by f2040bfc7ee033e48acef9f289790f3b4e6b74e5, which
also did not update this function for the change to qstr-opcode encoding,
so it does not work correctly anyway.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/bc.h')
| -rw-r--r-- | py/bc.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -292,12 +292,6 @@ const byte *mp_bytecode_print_str(const mp_print_t *print, const byte *ip_start, #define MP_TAGPTR_TAG1(x) ((uintptr_t)(x) & 2) #define MP_TAGPTR_MAKE(ptr, tag) ((void *)((uintptr_t)(ptr) | (tag))) -#if MICROPY_PERSISTENT_CODE_LOAD || MICROPY_PERSISTENT_CODE_SAVE - -uint mp_opcode_format(const byte *ip, size_t *opcode_size, bool count_var_uint); - -#endif - static inline void mp_module_context_alloc_tables(mp_module_context_t *context, size_t n_qstr, size_t n_obj) { #if MICROPY_EMIT_BYTECODE_USES_QSTR_TABLE size_t nq = (n_qstr * sizeof(qstr_short_t) + sizeof(mp_uint_t) - 1) / sizeof(mp_uint_t); |
