diff options
author | Damien George <damien.p.george@gmail.com> | 2018-02-08 13:30:33 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-02-08 13:30:33 +1100 |
commit | 0c650d427601d5c84bd623d58abc9be5451c576c (patch) | |
tree | 8b739915dcdb48e224b0834a0a3cee9f8f6887ba /docs/esp8266/tutorial/filesystem.rst | |
parent | 0b12cc8febe11e43c012b12cb2d6ad59bbda4724 (diff) | |
download | micropython-0c650d427601d5c84bd623d58abc9be5451c576c.tar.gz micropython-0c650d427601d5c84bd623d58abc9be5451c576c.zip |
py/vm: Simplify stack sentinel values for unwind return and jump.
This patch simplifies how sentinel values are stored on the stack when
doing an unwind return or jump. Instead of storing two values on the stack
for an unwind jump it now stores only one: a negative small integer means
unwind-return and a non-negative small integer means unwind-jump with the
value being the number of exceptions to unwind. The savings in code size
are:
bare-arm: -56
minimal x86: -68
unix x64: -80
unix nanbox: -4
stm32: -56
cc3200: -64
esp8266: -76
esp32: -156
Diffstat (limited to 'docs/esp8266/tutorial/filesystem.rst')
0 files changed, 0 insertions, 0 deletions