summaryrefslogtreecommitdiffstats
path: root/tests/016/arith.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-03-23 07:52:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-03-23 07:52:13 -0700
commit120fff7edbc81eac6272a9e9bfc7a23d3eb94f55 (patch)
tree9cd4c90cb630fb47f6dde18c7ce3c021b57bf0ad /tests/016/arith.tl
parent0e9adb0fd7c861f6f03ddb44c713153d2109a07f (diff)
downloadtxr-120fff7edbc81eac6272a9e9bfc7a23d3eb94f55.tar.gz
txr-120fff7edbc81eac6272a9e9bfc7a23d3eb94f55.tar.bz2
txr-120fff7edbc81eac6272a9e9bfc7a23d3eb94f55.zip
compiler: constant-optimize prog1
* share/txr/stdlib/compiler.tl (compiler comp-prog1): prog1 already uses progn. When using progn, though, it should append the nil form to the tail, otherwise progn will spare the last from from being eliminated, leaving an unused constant in the data table.
Diffstat (limited to 'tests/016/arith.tl')
0 files changed, 0 insertions, 0 deletions