1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-14 01:30:19 +02:00
guile/module/language/tree-il
Mark H Weaver 6708acbf66 Fix eta-conversion edge cases in peval.
Fixes <https://bugs.gnu.org/29520>.
Reported by Stefan Israelsson Tampe <stefan.itampe@gmail.com>.

* module/language/tree-il/peval.scm (peval)[lift-applied-lambda]: Before
performing eta-conversion, check that the variable(s) passed to the
inner 'apply' are not referenced from the inner lambda, and that the
number of required arguments would not be reduced by the conversion.
2018-08-07 11:40:54 +02:00
..
analyze.scm Add -Wmacro-use-before-definition 2016-06-25 18:08:28 +02:00
canonicalize.scm Inline escape-only prompt bodies in the Tree-IL 2013-08-11 16:45:31 +02:00
compile-cps.scm Use intrinsics for top-level refs outside captured scopes 2018-05-14 16:25:50 +02:00
cps-primitives.scm Remove optimizer and backend support for struct ops 2018-01-22 07:51:08 +01:00
debug.scm <prompt> body and handler are lambdas; add escape-only? field 2013-07-06 20:27:21 +09:00
effects.scm with-dynamic-state compiler and VM support 2016-12-05 22:57:29 +01:00
fix-letrec.scm psyntax: Generate identifiers in a deterministic fashion. 2017-03-07 20:48:40 +01:00
optimize.scm Disable resolve-primitives pass below -O2 2018-01-05 10:40:03 +01:00
peval.scm Fix eta-conversion edge cases in peval. 2018-08-07 11:40:54 +02:00
primitives.scm Lower "make-struct/simple" to CPS 2018-01-22 07:28:11 +01:00
spec.scm Rename CPS2 to CPS 2015-07-22 17:19:04 +02:00