summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-27 12:19:19 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-27 12:19:19 -0800
commit94c483974ca4328bf8402ddf65308e63afdf22b4 (patch)
tree1ecc206680d41799774a3a7fd692f2cabdbf6f62 /INSTALL
parentb0b7a05c76fac4dc072e394731a7e5f153c775a8 (diff)
downloadtxr-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