diff options
| author | Paul Eggert | 2015-12-12 19:27:51 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-12-12 19:28:53 -0800 |
| commit | 09663d9b91803882508bd805581b95f8990eb441 (patch) | |
| tree | a42fd5bacc97e94c2f60ee801cdc908b15b2df9a /lib-src | |
| parent | 95a5c23f741f42c6f68e283570cdce10b1946296 (diff) | |
| download | emacs-09663d9b91803882508bd805581b95f8990eb441.tar.gz emacs-09663d9b91803882508bd805581b95f8990eb441.zip | |
Fix performance regression with gcc -O0
This fixes the smaller performance hit that I noted in:
https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
* src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
* src/puresize.h (puresize_h_PURE_P)
(puresize_h_CHECK_IMPURE):
New macros, with the old contents of the functions.
* src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
* src/puresize.h (PURE_P, CHECK_IMPURE):
Use the new macros. Also macros, if DEFINE_KEY_OPS_AS_MACROS.
* src/conf_post.h (ATTRIBUTE_UNUSED):
* src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions