diff options
author | Damien George <damien.p.george@gmail.com> | 2014-12-22 12:49:57 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-12-22 12:49:57 +0000 |
commit | 74eb44c392449b54a3f0dcf268ee7448909f7b07 (patch) | |
tree | 0e00d8c961e08de3304c5c58da3845bbb6ebdf20 /tests/unix/ffi_float.py.exp | |
parent | 81836c28b346c5158e6fc8a79b74a8caa7211dd7 (diff) | |
download | micropython-74eb44c392449b54a3f0dcf268ee7448909f7b07.tar.gz micropython-74eb44c392449b54a3f0dcf268ee7448909f7b07.zip |
py: Reduce size of VM exception stack element by 1 machine word.
This optimisation reduces the VM exception stack element (mp_exc_stack_t)
by 1 word, by using bit 1 of a pointer to store whether the opcode was a
FINALLY or WITH opcode. This optimisation was pending, waiting for
maturity of the exception handling code, which has now proven itself.
Saves 1 machine word RAM for each exception (4->3 words per exception).
Increases stmhal code by 4 bytes, and decreases unix x64 code by 32
bytes.
Diffstat (limited to 'tests/unix/ffi_float.py.exp')
0 files changed, 0 insertions, 0 deletions