diff options
author | Damien George <damien.p.george@gmail.com> | 2015-12-17 12:32:41 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-12-17 12:32:41 +0000 |
commit | 7a30e87d2b8c14dadf5021a03740c4ca48178f53 (patch) | |
tree | 429a0eefd61c387b08d328eee6f1cb7fb3424655 /py/vm.c | |
parent | ab1e36dcf9b7182d18704f627aff461ce87d7d09 (diff) | |
download | micropython-7a30e87d2b8c14dadf5021a03740c4ca48178f53.tar.gz micropython-7a30e87d2b8c14dadf5021a03740c4ca48178f53.zip |
py: Fix MICROPY_STACKLESS mode to compile with MICROPY_OBJ_REPR_D.
Diffstat (limited to 'py/vm.c')
-rw-r--r-- | py/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -973,7 +973,7 @@ unwind_jump:; mp_uint_t n_args = unum & 0xff; mp_uint_t n_kw = (unum >> 8) & 0xff; - int adjust = (sp[1] == NULL) ? 0 : 1; + int adjust = (sp[1] == MP_OBJ_NULL) ? 0 : 1; mp_code_state *new_state = mp_obj_fun_bc_prepare_codestate(*sp, n_args + adjust, n_kw, sp + 2 - adjust); if (new_state) { |