We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722c486 commit 8009c8cCopy full SHA for 8009c8c
py/bc.h
@@ -302,6 +302,7 @@ static inline void mp_module_context_alloc_tables(mp_module_context_t *context,
302
#if MICROPY_EMIT_BYTECODE_USES_QSTR_TABLE
303
size_t nq = (n_qstr * sizeof(qstr_short_t) + sizeof(mp_uint_t) - 1) / sizeof(mp_uint_t);
304
size_t no = n_obj;
305
+ // CIRCUITPY-CHANGE
306
mp_uint_t *mem = m_malloc_items(nq + no);
307
context->constants.qstr_table = (qstr_short_t *)mem;
308
context->constants.obj_table = (mp_obj_t *)(mem + nq);
0 commit comments