summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bench/bytebuf-2-join_map_bytes.py
diff options
context:
space:
mode:
authorJun Wu <quark@lihdd.net>2019-05-05 23:14:25 -0700
committerDamien George <damien.p.george@gmail.com>2019-06-28 13:59:45 +1000
commitd165a401dce66ba952b016d116b60e77b11f3e1f (patch)
tree53e68f627834677c4d380ef505daf51b3c8860dc /tests/bench/bytebuf-2-join_map_bytes.py
parentb152bbddd132cf3f147a526efebedaf25eba29cd (diff)
downloadmicropython-d165a401dce66ba952b016d116b60e77b11f3e1f.tar.gz
micropython-d165a401dce66ba952b016d116b60e77b11f3e1f.zip
py/persistentcode: Fix compilation with load and save both enabled.
With both MICROPY_PERSISTENT_CODE_SAVE and MICROPY_PERSISTENT_CODE_LOAD enabled the code fails to compile, due to undeclared 'n_obj'. If MICROPY_EMIT_NATIVE is disabled there are more errors due to the use of undefined fields in mp_raw_code_t. This patch fixes such compilation by avoiding undefined fields. MICROPY_EMIT_NATIVE was changed to MICROPY_EMIT_MACHINE_CODE in this file to match the mp_raw_code_t definition.
Diffstat (limited to 'tests/bench/bytebuf-2-join_map_bytes.py')
0 files changed, 0 insertions, 0 deletions