Mercurial > hg > xemacs-beta
comparison lisp/ChangeLog @ 5301:ec05a30f7148
Fix a bytecomp.el bug compiling #'eql, which was masked by cl-macs.el
lisp/ChangeLog addition:
2010-11-14 Aidan Kehoe <kehoea@parhasard.net>
* cl-macs.el (eql): Don't remove the byte-compile property of this
symbol. That was necessary to override a bug in bytecomp.el where
#'eql was confused with #'eq, which bug we no longer have.
If neither expression is constant, don't attempt to handle the
expression in this compiler macro, leave it to byte-compile-eql,
which produces better code anyway.
* bytecomp.el (eq): #'eql is not the function associated with the
byte-eq byte code.
(byte-compile-eql): Add an explicit compile method for this
function, for cases where the cl-macs compiler macro hasn't
reduced it to #'eq or #'equal.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 14 Nov 2010 13:46:29 +0000 |
parents | bbff29a01820 |
children | 09fed7053634 |
comparison
equal
deleted
inserted
replaced
5300:9f738305f80f | 5301:ec05a30f7148 |
---|---|
1 2010-11-14 Aidan Kehoe <kehoea@parhasard.net> | |
2 | |
3 * cl-macs.el (eql): Don't remove the byte-compile property of this | |
4 symbol. That was necessary to override a bug in bytecomp.el where | |
5 #'eql was confused with #'eq, which bug we no longer have. | |
6 If neither expression is constant, don't attempt to handle the | |
7 expression in this compiler macro, leave it to byte-compile-eql, | |
8 which produces better code anyway. | |
9 * bytecomp.el (eq): #'eql is not the function associated with the | |
10 byte-eq byte code. | |
11 (byte-compile-eql): Add an explicit compile method for this | |
12 function, for cases where the cl-macs compiler macro hasn't | |
13 reduced it to #'eq or #'equal. | |
14 | |
1 2010-10-25 Aidan Kehoe <kehoea@parhasard.net> | 15 2010-10-25 Aidan Kehoe <kehoea@parhasard.net> |
2 | 16 |
3 Add compiler macros and compilation sanity-checking for various | 17 Add compiler macros and compilation sanity-checking for various |
4 functions that take keywords. | 18 functions that take keywords. |
5 | 19 |