summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-11-25 15:41:31 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-11-25 15:41:31 -0800
commit038ce16ff301caddbbeb6ea15cbbd43ced7d973d (patch)
tree47fd2c5dc76ba9d02ce502802739a33a28322f5c /lib.c
parent6395346bee2382d0e800ce28593c48ad3bab9792 (diff)
downloadtxr-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