mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
py: Fix MICROPY_STACKLESS mode to compile with MICROPY_OBJ_REPR_D.
This commit is contained in:
@@ -167,7 +167,7 @@ STATIC void dump_args(const mp_obj_t *a, mp_uint_t sz) {
|
||||
#if MICROPY_STACKLESS
|
||||
mp_code_state *mp_obj_fun_bc_prepare_codestate(mp_obj_t self_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) {
|
||||
MP_STACK_CHECK();
|
||||
mp_obj_fun_bc_t *self = self_in;
|
||||
mp_obj_fun_bc_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
|
||||
// get start of bytecode
|
||||
const byte *ip = self->bytecode;
|
||||
|
||||
Reference in New Issue
Block a user