]> git.eshelyaron.com Git - emacs.git/commit
Remove the unused unbind-all bytecode
authorMattias Engdegård <mattiase@acm.org>
Sun, 2 Jan 2022 10:35:16 +0000 (11:35 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 24 Jan 2022 10:41:46 +0000 (11:41 +0100)
commit721357b86856505324b5f32584d5eae0ba9ab4ac
tree922da8bb1fae1ffbf1c3998febc05bfe4a381845
parent4ff1fb8eb475a540c094878db1811797e2ca2368
Remove the unused unbind-all bytecode

It was implemented but never generated, originally intended for
TCO in the pre-lexbind era (which was semantically dubious anyway).
Removing it speeds up the interpreter because there is no longer any
need for the outermost `count` variable unless checking is enabled.

* lisp/emacs-lisp/bytecomp.el:
* lisp/emacs-lisp/comp.el (comp-limplify-lap-inst):
* src/bytecode.c (BYTE_CODES, exec_byte_code):
Remove definition and implementation of unbind-all, freeing up the opcode
for other purposes.
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/comp.el
src/bytecode.c