diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-02-19 19:03:41 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-02-19 19:03:41 -0800 |
commit | b935372fce93056240e3fae71c5095fd26fbdb13 (patch) | |
tree | 5a21bf5f7e513e43248d80bff577d0a1e15d2d9c /arith.c | |
parent | f42715f03ed773d375d88717c65605b020cfc467 (diff) | |
download | txr-b935372fce93056240e3fae71c5095fd26fbdb13.tar.gz txr-b935372fce93056240e3fae71c5095fd26fbdb13.tar.bz2 txr-b935372fce93056240e3fae71c5095fd26fbdb13.zip |
compiler: constant fold pred/succ functions.
* share/txr/stdlib/compiler.tl (%const-foldable-funs%): Add
pred, succ and their sisters.
* share/txr/stdlib/vm-param.tl (%max-lev-idx%, %max-v-lev%,
%max-sm-lev-idx%): Get rid of macro-time wrapping in
calculation, which are there for manual constant folding.
* share/txr/stdlib/asm.tl (with-lev-idx): Remove macro-time
providing manual constant folding.
Diffstat (limited to 'arith.c')
0 files changed, 0 insertions, 0 deletions