Avoid attempting to eta-reduce self-loops.
authorAndy Wingo <wingo@pobox.com>
Sat, 22 Feb 2014 14:34:46 +0000 (15:34 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 22 Feb 2014 14:34:46 +0000 (15:34 +0100)
commit90c8094aec494df062b383d439874b380cf03925
treee379fc272d8451b68ea31b619107ecac7f3893b7
parente4a8775ddb357c63b91ef4bcfc9e582107b8d832
Avoid attempting to eta-reduce self-loops.

* module/language/cps/simplify.scm (compute-eta-reductions): Avoid
  trying to eta-reduce a jump-to-self, as in (let lp () (lp)).  This
  caused the compiler to hang.
module/language/cps/simplify.scm