diff options
author | Damien George <damien.p.george@gmail.com> | 2018-12-11 00:52:33 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-12-13 01:26:55 +1100 |
commit | 814d580a15c5f7478f173f621809155a369e07fa (patch) | |
tree | 958b1e30cf0a7bda0786e25f3d112f11a15e0dc8 /tests/basics/fun1.py | |
parent | 6bf8ecfe3ab08c702c4e002dc150fceed31176e6 (diff) | |
download | micropython-814d580a15c5f7478f173f621809155a369e07fa.tar.gz micropython-814d580a15c5f7478f173f621809155a369e07fa.zip |
tools/mpy-tool.py: Fix calc of opcode size for opcodes with map caching.
Following an equivalent fix to py/bc.c. The reason the incorrect values
for the opcode constants were not previously causing a bug is because they
were never being used: these opcodes always have qstr arguments so the part
of the code that was comparing them would never be reached.
Thanks to @malinah for finding the problem and providing the initial patch.
Diffstat (limited to 'tests/basics/fun1.py')
0 files changed, 0 insertions, 0 deletions