summaryrefslogtreecommitdiff
path: root/am
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2020-01-14 09:39:28 +0100
committerAndy Wingo <wingo@pobox.com>2020-01-14 09:39:28 +0100
commitb6dfc84fd4b2be4db9199b86cf6607a10b2ecf99 (patch)
treeecdc52ac3c655ab70516c4faf4d9c7f4b4ad4605 /am
parentb47bf2434c656eb7fb6be0894dac3bea8b53ac05 (diff)
downloadguile-b6dfc84fd4b2be4db9199b86cf6607a10b2ecf99.tar.gz
Declarative variables optimization limits eta-expansion
* module/language/tree-il/letrectify.scm (compute-procedures-without-identity): (letrectify): Only eta-expand lambda references that appear outside the operator position more than once. This should restore peoples' expectations that (eqv? f f) without penalizing optimization.
Diffstat (limited to 'am')
0 files changed, 0 insertions, 0 deletions