diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-09 07:07:20 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-09 07:07:20 -0700 |
commit | fa9427261659eb1ebaf2c752edf2979248204d7b (patch) | |
tree | f22262d50a97d02cfda0f19971db16f883f7bbc1 /parser.c | |
parent | 987609ab14f56487735ff0ca190d91222aa03550 (diff) | |
download | txr-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 'parser.c')
0 files changed, 0 insertions, 0 deletions