summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mode.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-01-01 22:39:17 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-01-24 11:41:46 +0100
commitb3377e67a7b20a9a53aa2129b2c3951be67ad102 (patch)
treee2e4f16271cb8fe3cb5a695282c76bc5914e5ab4 /lisp/emacs-lisp/lisp-mode.el
parentd05f387407858672ff0d10b963dbdeaf2a9163e0 (diff)
downloademacs-b3377e67a7b20a9a53aa2129b2c3951be67ad102.tar.gz
emacs-b3377e67a7b20a9a53aa2129b2c3951be67ad102.tar.bz2
emacs-b3377e67a7b20a9a53aa2129b2c3951be67ad102.zip
Remove nil check in exec_byte_code
Since we pass no arguments to a non-lexbind bytecode function, we can specify its arity as 0 instead of nil and save a test and branch. * src/bytecode.c (Fbyte_code, exec_byte_code): * src/eval.c (fetch_and_exec_byte_code, funcall_lambda): * src/lisp.h: Change the args_template parameter type to ptrdiff_t, since it is now always a small integer, in exec_byte_code and fetch_and_exec_byte_code, all callers adjusted.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions