Mercurial > hg > xemacs-beta
comparison lisp/ChangeLog @ 5356:5dd1ba5e0113
Be better about eliminating `block's that are not `return-from'd, bytecomp.el
2011-02-12 Aidan Kehoe <kehoea@parhasard.net>
* bytecomp.el:
* bytecomp.el (byte-compile-initial-macro-environment):
* bytecomp.el (unwind-protect):
* bytecomp.el (byte-compile-active-blocks):
* bytecomp.el (byte-compile-catch):
* bytecomp.el ('return-from-1): Removed.
* bytecomp.el ('block-1): Removed.
* bytecomp.el (byte-compile-block-1): Removed.
* bytecomp.el (byte-compile-return-from-1): Removed.
* bytecomp.el (byte-compile-throw):
* cl-macs.el (block):
* cl-macs.el (return-from):
In my last change, the elimination of `block's that were never
`return-from'd didn't work if `cl-macroexpand-all' was called
explicitly, something much code in cl-macs.el does. Change the
implementation to something that doesn't require shadowing of the
macros in `byte-compile-initial-macro-environment', putting a
`cl-block-name' property on the gensym'd symbol argument to
`catch' instead.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 12 Feb 2011 14:07:38 +0000 |
parents | 22c4e67a2e69 |
children | 31475de17064 00e79bbbe48f |
comparison
equal
deleted
inserted
replaced
5355:70b15ac66ee5 | 5356:5dd1ba5e0113 |
---|---|
1 2011-02-12 Aidan Kehoe <kehoea@parhasard.net> | |
2 | |
3 * bytecomp.el: | |
4 * bytecomp.el (byte-compile-initial-macro-environment): | |
5 * bytecomp.el (unwind-protect): | |
6 * bytecomp.el (byte-compile-active-blocks): | |
7 * bytecomp.el (byte-compile-catch): | |
8 * bytecomp.el ('return-from-1): Removed. | |
9 * bytecomp.el ('block-1): Removed. | |
10 * bytecomp.el (byte-compile-block-1): Removed. | |
11 * bytecomp.el (byte-compile-return-from-1): Removed. | |
12 * bytecomp.el (byte-compile-throw): | |
13 * cl-macs.el (block): | |
14 * cl-macs.el (return-from): | |
15 In my last change, the elimination of `block's that were never | |
16 `return-from'd didn't work if `cl-macroexpand-all' was called | |
17 explicitly, something much code in cl-macs.el does. Change the | |
18 implementation to something that doesn't require shadowing of the | |
19 macros in `byte-compile-initial-macro-environment', putting a | |
20 `cl-block-name' property on the gensym'd symbol argument to | |
21 `catch' instead. | |
22 | |
1 2011-02-09 Aidan Kehoe <kehoea@parhasard.net> | 23 2011-02-09 Aidan Kehoe <kehoea@parhasard.net> |
2 | 24 |
3 * cl.el (acons): Removed, make the implementation in alloc.c | 25 * cl.el (acons): Removed, make the implementation in alloc.c |
4 visible to Lisp instead. | 26 visible to Lisp instead. |
5 | 27 |