comparison lisp/ChangeLog @ 5575:89cb6a66a61f

Force unfolding of (funcall #'(lambda () ...) if optimising, bytecomp.el. lisp/ChangeLog addition: 2011-10-03 Aidan Kehoe <kehoea@parhasard.net> * bytecomp.el (byte-compile-funcall): Sometimes the optimizer shirks its responsibility and doesn't unfold a lambda when it should. Do this here, if optimization is turned on; this makes inlining labels more consistent and trustworthy.
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 03 Oct 2011 19:39:01 +0100
parents d4f334808463
children 071b810ceb18
comparison
equal deleted inserted replaced
5574:d4f334808463 5575:89cb6a66a61f
1 2011-10-03 Aidan Kehoe <kehoea@parhasard.net>
2
3 * bytecomp.el (byte-compile-funcall):
4 Sometimes the optimizer shirks its responsibility and doesn't
5 unfold a lambda when it should. Do this here, if optimization is
6 turned on; this makes inlining labels more consistent and
7 trustworthy.
8
1 2011-10-02 Aidan Kehoe <kehoea@parhasard.net> 9 2011-10-02 Aidan Kehoe <kehoea@parhasard.net>
2 10
3 * bytecomp.el (byte-compile-initial-macro-environment): 11 * bytecomp.el (byte-compile-initial-macro-environment):
4 Add #'declare to this, so it doesn't need to rely on 12 Add #'declare to this, so it doesn't need to rely on
5 #'cl-compiling file to determine when we're byte-compiling. 13 #'cl-compiling file to determine when we're byte-compiling.