fix-letrec tweaks
authorAndy Wingo <wingo@pobox.com>
Wed, 9 Mar 2011 21:37:53 +0000 (22:37 +0100)
committerAndy Wingo <wingo@pobox.com>
Wed, 9 Mar 2011 21:38:11 +0000 (22:38 +0100)
commitdf1297956211b7353155c9b54d7e9c22d05ce493
tree31804b533d050e06a377cc68e3fc9b98e0227780
parent531c9f1dc51c4801c4d031ee80a31f15285a6b85
fix-letrec tweaks

* module/language/tree-il/fix-letrec.scm (partition-vars): Previously,
  for letrec* we treated all unreferenced vars as complex, because of
  orderings of effects that could arise in their definitions.  But we
  can actually keep simple and lambda vars as unreferenced, as their
  initializers cannot cause side effects.
  (fix-letrec!): Remove letrec* -> letrec code, as it's unneeded.
module/language/tree-il/fix-letrec.scm