diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-02-20 13:26:47 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-02-20 13:26:47 -0800 |
commit | 38ac9d2e58b1ce1881f501c0f82b5830a16cf15d (patch) | |
tree | 772735d72d99801477a7639880a92b32f64afc8a /arith.c | |
parent | 0242d633b50ae4883a46cda2bc8edd934cac8672 (diff) | |
download | txr-38ac9d2e58b1ce1881f501c0f82b5830a16cf15d.tar.gz txr-38ac9d2e58b1ce1881f501c0f82b5830a16cf15d.tar.bz2 txr-38ac9d2e58b1ce1881f501c0f82b5830a16cf15d.zip |
compiler: constant-fold more basic functions.
* share/txr/stdlib/compiler.tl (%const-foldable-funs%): Add
numerous eligible functions that are registered in eval.c. We
avoid anything with functional arguments, environmental
dependencies or anything that may be relied upon to produce a
fresh object.
Diffstat (limited to 'arith.c')
0 files changed, 0 insertions, 0 deletions