tweak tail merging logic
authorNikodemus Siivola <nikodemus@random-state.net>
Sun, 23 Oct 2011 09:37:42 +0000 (12:37 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Wed, 23 Nov 2011 07:41:15 +0000 (09:41 +0200)
commitf7a78dd3554bd977b006e5da349a11d4e8463bb5
tree2aebb62aaaf712250a490e026d81df986ed8a0bf
parentc5e9ad7d244be10589cf079e36422ffe005d0e67
tweak tail merging logic

 TAIL-ANNOTATE used MERGE-TAIL-CALLS policy (which is an integer) as a
 boolean, instead of comparing it to zero. Oops. This means that we always did
 TCO when possible.

 Since adding a debug-catch-tag effectively prevents TCO, and the policy
 controlling that looks just like what we would like to have in
 MERGE-TAIL-CALLS if TAIL-ANNOTATE were to use it correctly... just deprecate
 MERGE-TAIL-CALLS instead.
NEWS
contrib/sb-sprof/sb-sprof.lisp
src/compiler/ir1util.lisp
src/compiler/locall.lisp
src/compiler/physenvanal.lisp
src/compiler/policies.lisp