Simplify the sexpr generated by INCF and DECF in trivial uses.
commitd2a72244816bfa6f387ebb7b80ee6a47e8d5fea8
authorDouglas Katzman <dougk@google.com>
Sat, 2 May 2015 02:42:54 +0000 (1 22:42 -0400)
committerDouglas Katzman <dougk@google.com>
Sat, 2 May 2015 14:40:55 +0000 (2 10:40 -0400)
tree1a9adeead9741ef5b65b2e008dcbe85fc4dc1ebd
parent34e65fd3ff8244b9ada68dd3b7c20e2a02cad0cf
Simplify the sexpr generated by INCF and DECF in trivial uses.

This yields the conventional/obvious expansion when (INCF x) affects
ordinary variables, boosting performance of typical interpreter
implementations that do not detect elidable bindings.
It looks prettier too.
src/code/setf.lisp