Skip to content

Commit 8009c8c

Browse files
tannewtdhalbert
andauthored
Update py/bc.h
Co-authored-by: Dan Halbert <[email protected]>
1 parent 722c486 commit 8009c8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

py/bc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ static inline void mp_module_context_alloc_tables(mp_module_context_t *context,
302302
#if MICROPY_EMIT_BYTECODE_USES_QSTR_TABLE
303303
size_t nq = (n_qstr * sizeof(qstr_short_t) + sizeof(mp_uint_t) - 1) / sizeof(mp_uint_t);
304304
size_t no = n_obj;
305+
// CIRCUITPY-CHANGE
305306
mp_uint_t *mem = m_malloc_items(nq + no);
306307
context->constants.qstr_table = (qstr_short_t *)mem;
307308
context->constants.obj_table = (mp_obj_t *)(mem + nq);

0 commit comments

Comments
 (0)