diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-01-29 19:51:00 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-01-29 19:51:00 -0800 |
commit | ab20526520a5458a40bdbf7b77af4cd5ef62c096 (patch) | |
tree | 8b5696b93a483c0a77b30766f01fda64e8cf4d96 /tests/011 | |
parent | 1b33bf2abdf88071ff38c3f2c25ba57433257a2a (diff) | |
download | txr-ab20526520a5458a40bdbf7b77af4cd5ef62c096.tar.gz txr-ab20526520a5458a40bdbf7b77af4cd5ef62c096.tar.bz2 txr-ab20526520a5458a40bdbf7b77af4cd5ef62c096.zip |
optimizer: add a few peephole reductions.
* share/txr/stdlib/compiler.tl (compiler optimize): Call
peephole method on basic-blocks object, rather than
thread-jumps.
* share/txr/stdlib/optimize.tl (basic-blocks thread-jumps):
Rename method to peephole, since it does more than just
thread-jumps. Add some dead code elimination, and elimination
of wasteful moves.
Diffstat (limited to 'tests/011')
0 files changed, 0 insertions, 0 deletions