summaryrefslogtreecommitdiffstats
path: root/arith.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-19 21:26:50 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-19 21:26:50 -0800
commit7cd3d92e972b10c4fb5d67079cb911c0aef8e5b4 (patch)
tree6b4f2df84fd16afcd844346380aaa2af5c6ace7a /arith.c
parentb935372fce93056240e3fae71c5095fd26fbdb13 (diff)
downloadtxr-7cd3d92e972b10c4fb5d67079cb911c0aef8e5b4.tar.gz
txr-7cd3d92e972b10c4fb5d67079cb911c0aef8e5b4.tar.bz2
txr-7cd3d92e972b10c4fb5d67079cb911c0aef8e5b4.zip
compiler: constant-fold most arithmetic functions
* share/txr/stdlib/compiler.tl (%const-foldable-funs%): Add most functions from arith module. (%const-foldable%): New variable, hash built from list. (compiler comp-fun-form, reduce-constant): Refer to %const-foldable% hash instead of %const-foldable-funs% list.
Diffstat (limited to 'arith.c')
0 files changed, 0 insertions, 0 deletions