Don't AVER when merging top-level lambdas which do not return.
commitd34f08f171f7de7ba6969a6f0537c96c61fe522c
authorStas Boukarev <stassats@gmail.com>
Thu, 15 Jan 2015 16:48:50 +0000 (15 19:48 +0300)
committerStas Boukarev <stassats@gmail.com>
Thu, 15 Jan 2015 17:19:29 +0000 (15 20:19 +0300)
treec89d01dffb2d1105052ae1461b4400b8061752e3
parent049d6d8082328a515bf866515a0c54717db3ecff
Don't AVER when merging top-level lambdas which do not return.

In MERGE-TOPLEVEL-LAMBDAS, check that the result receiver is not
deleted before merging. And stop doing anything if it's passed only one lambda.

Fixes lp#1308328.
NEWS
src/compiler/dfo.lisp
tests/compiler.impure.lisp
tests/merge-lambdas.lisp [new file with mode: 0644]