summaryrefslogtreecommitdiffstatshomepage
path: root/py/persistentcode.c
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2025-05-08 00:02:26 +0200
committerAlessandro Gatti <a.gatti@frob.it>2025-05-21 02:02:09 +0200
commit3d19a8bc2df1d153aedde587e8f8e9fded4d6c08 (patch)
tree8658dde262cd89acdd97a4d837ad83976c0919ae /py/persistentcode.c
parent6b2792a097a841bf1c0a27e4fcffcaacc4968285 (diff)
downloadmicropython-3d19a8bc2df1d153aedde587e8f8e9fded4d6c08.tar.gz
micropython-3d19a8bc2df1d153aedde587e8f8e9fded4d6c08.zip
py/emitnative: Clean up int-indexed Viper load/store code.
This commit performs some minor clean up for the code involved in Viper load/store operations when said operations have an integer index. Most platform-specific code blocks were able to generate correct opcodes even when the index is 0, but they would still fall back to the general case. The general case would still emit a shortened opcode sequence so this commit does not alter the overall behaviour, but makes it easier to extend platform-specific code whenever the full index range is going to be handled rather than a subset of indices as it is now. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py/persistentcode.c')
0 files changed, 0 insertions, 0 deletions