summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-04-09 07:07:20 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-04-09 07:07:20 -0700
commitfa9427261659eb1ebaf2c752edf2979248204d7b (patch)
treef22262d50a97d02cfda0f19971db16f883f7bbc1 /eval.c
parent987609ab14f56487735ff0ca190d91222aa03550 (diff)
downloadtxr-fa9427261659eb1ebaf2c752edf2979248204d7b.tar.gz
txr-fa9427261659eb1ebaf2c752edf2979248204d7b.tar.bz2
txr-fa9427261659eb1ebaf2c752edf2979248204d7b.zip
compiler: improve and & or.
* share/txr/stdlib/compiler.tl (compiler comp-and-or): Handle the trivial zero and one argument cases separately. In particular, the one-argument case results in better code because it eliminates a temporary register. We don't have to test for the zero-arg case any more in the general case, so it is simplified in a few cases.
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions