ADJOIN shouldn't constant fold.
authorStas Boukarev <stassats@gmail.com>
Mon, 23 Sep 2013 17:25:51 +0000 (21:25 +0400)
committerStas Boukarev <stassats@gmail.com>
Mon, 23 Sep 2013 17:25:51 +0000 (21:25 +0400)
commit19d37e39d4e0bfc943749d111c1ba2cbed805939
tree744dbf28195a1bf7bad7fe3d0886333e94e7667a
parentd7cbe5c40e93796d326937f3fb962fa4d7b1fa85
ADJOIN shouldn't constant fold.

ADJOIN creates new lists, so it shouldn't be constant folded. The
problem materialized when more %adjoin-* helper functions received an
fndb entry with foldable attribute copied, causing more cases to be
folded.

Reported by Eric Marsden.
src/compiler/fndb.lisp
tests/list.pure.lisp