loop: remove code size-estimation.
authorStas Boukarev <stassats@gmail.com>
Thu, 16 May 2013 12:51:47 +0000 (16:51 +0400)
committerStas Boukarev <stassats@gmail.com>
Thu, 16 May 2013 12:51:47 +0000 (16:51 +0400)
commit0a705e49ea94017483b73f9c1e1670b119435bd2
treed223bf99082820d0c24bed4f65e8ac7a4fd19904
parent7553f9ddede4fdbd2212b15694925fde95d1f2dd
loop: remove code size-estimation.

Loop has a facility to determine whether it's ok to duplicate variable
initialization and stepping code when the variable preceding it has
different initialization and stepping forms. The code which determines
code size is quite strange and it may have been relevant 20 years ago
on primitive implementations, but not anymore, and people who really
care about code size would use functions, which will also improve code
readability.

As a side effect, it fixes a bug which was present in the
estimate-code-size function.

Fixes lp#1178989.
NEWS
src/code/loop.lisp