diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-11-25 15:41:31 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-11-25 15:41:31 -0800 |
commit | 038ce16ff301caddbbeb6ea15cbbd43ced7d973d (patch) | |
tree | 47fd2c5dc76ba9d02ce502802739a33a28322f5c /lib.c | |
parent | 6395346bee2382d0e800ce28593c48ad3bab9792 (diff) | |
download | txr-038ce16ff301caddbbeb6ea15cbbd43ced7d973d.tar.gz txr-038ce16ff301caddbbeb6ea15cbbd43ced7d973d.tar.bz2 txr-038ce16ff301caddbbeb6ea15cbbd43ced7d973d.zip |
Streamline logand and logior slightly.
* arith.c (logand, logior): Remove wasteful zerop tests which
involve a type check. Also don't check for a == b equivalence
in CHR and NUM cases; this is a rare case that just adds to
the cycles and instruction count. Blindly copying and pasting
this code is what led to the bug in logxor.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions