mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
* module/language/tree-il/primitives.scm (expand-eq): Just expand out to binary comparisons. Also expand eq?, which was missing. Leave strength reduction to peval. (character-comparison-expander): Move down, as it depends on <, <=, and so on. * module/language/tree-il/peval.scm (peval): Robustly reduce equal? and eqv?. * test-suite/tests/peval.test ("partial evaluation"): Expect fixnum comparison to reduce to eq?. ("eqv?", "equal?"): A new battery of tests. * test-suite/tests/tree-il.test ("primitives"): Remove reduction tests. |
||
---|---|---|
.. | ||
analyze.scm | ||
compile-bytecode.scm | ||
compile-cps.scm | ||
cps-primitives.scm | ||
debug.scm | ||
effects.scm | ||
eta-expand.scm | ||
fix-letrec.scm | ||
letrectify.scm | ||
optimize.scm | ||
peval.scm | ||
primitives.scm | ||
spec.scm |