diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-02-27 12:19:19 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-02-27 12:19:19 -0800 |
commit | 94c483974ca4328bf8402ddf65308e63afdf22b4 (patch) | |
tree | 1ecc206680d41799774a3a7fd692f2cabdbf6f62 /INSTALL | |
parent | b0b7a05c76fac4dc072e394731a7e5f153c775a8 (diff) | |
download | txr-94c483974ca4328bf8402ddf65308e63afdf22b4.tar.gz txr-94c483974ca4328bf8402ddf65308e63afdf22b4.tar.bz2 txr-94c483974ca4328bf8402ddf65308e63afdf22b4.zip |
compiler: eliminate jumps to following instruction.
* share/txr/stdlib/optimize.tl (basic-blocks elim-next-jump):
New method, which detects that the basic block ends with a
(jmp label), where label is the next block in emit order.
This jmp instruction can be eliminated.
(basic-blocks elim-dead-code): Walk the reachable labels,
and call elim-next-jmp to remove useless jumps.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions