diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-27 12:31:27 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-27 12:35:09 -0700 |
commit | f59a3f3d61c7da8a22ddb13185ae2271865ae155 (patch) | |
tree | efc3b8dcdbafd11ddcd4532d701414f90e7de236 /lisp/emacs-lisp/lisp.el | |
parent | 4893a09c005cac81c05cd3db05c87225be6a7b42 (diff) | |
download | emacs-f59a3f3d61c7da8a22ddb13185ae2271865ae155.tar.gz emacs-f59a3f3d61c7da8a22ddb13185ae2271865ae155.tar.bz2 emacs-f59a3f3d61c7da8a22ddb13185ae2271865ae155.zip |
Improve XFIXNUM cleanup a bit
Based on Pip Cet’s review (Bug#36370#13).
* src/ccl.c (Fccl_execute_on_string): Use clearer indexing.
* src/dosfns.c (Fint86, Fdos_memput):
Avoid runtime checks for negative fixnums when debugging.
This restores the earlier machine code.
* src/lisp.h (XFIXNUM, XUFIXNUM): Use eassert, not eassume.
(XFIXNAT): At the start, merely eassert FIXNUMP rather
than eassuming FIXNATP. At the end, eassume that the
result is nonnegative. This restores help to the compiler
that the previous patch mistakenly removed.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions