kopia lustrzana https://github.com/micropython/micropython
bf18ddd989
The argument to MP_BC_MAKE_FUNCTION (raw code index) was being encoded as a byte instead of a variable unsigned int. That meant that if there were more than 128 merged mpy files the encoding would be invalid. Fix that by using `mp_encode_uint(idx)` to encode the raw code index. And also use `Opcode` constants for the opcode values to make it easier to understand the code. Signed-off-by: Damien George <damien@micropython.org> |
||
---|---|---|
.. | ||
autobuild | ||
mpremote | ||
.gitattributes | ||
.gitignore | ||
boardgen.py | ||
cc1 | ||
ci.sh | ||
codeformat.py | ||
codestats.sh | ||
dfu.py | ||
file2h.py | ||
gen-changelog.sh | ||
gen-cpydiff.py | ||
hci_trace_to_pcap.py | ||
insert-usb-ids.py | ||
makemanifest.py | ||
manifestfile.py | ||
metrics.py | ||
mpy-tool.py | ||
mpy_bin2res.py | ||
mpy_cross_all.py | ||
mpy_ld.py | ||
pyboard.py | ||
pydfu.py | ||
tinytest-codegen.py | ||
uf2conv.py | ||
uf2families.json | ||
uncrustify.cfg | ||
verifygitlog.py |