diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2024-05-26 11:13:50 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2024-05-26 13:04:51 +0200 |
commit | 236034a24d0e93e1796224e2ff4a14819fcfd559 (patch) | |
tree | 17cbd8f643e1c03b61fdb5725600b04873a3b27b /lisp/emacs-lisp | |
parent | cfd654c418658adacd6ab3717dc1b8cc95d99d44 (diff) | |
download | emacs-236034a24d0e93e1796224e2ff4a14819fcfd559.tar.gz emacs-236034a24d0e93e1796224e2ff4a14819fcfd559.tar.bz2 emacs-236034a24d0e93e1796224e2ff4a14819fcfd559.zip |
Clean up legacy bytecode loading
Complete some unfinished work from the elimination of lazy bytecode
loading in 9bcc9690a8: remove code which became unreachable by that
reform. This simplifies some of the lower-level parts of the reader
which helps performance somewhat.
* src/doc.c (read_bytecode_pointer, read_bytecode_char)
(read_doc_string): Remove.
(get_doc_string): Remove last argument, all callers adapted. Simplify.
* src/lread.c (readbyte_for_lambda, readbyte_from_string)
(readbyte_for_lambda, readbyte_from_string): Remove.
(readchar, unreadchar): Remove unused code paths for Qlambda and cons
arguments.
(bytecode_from_rev_list): Remove last use of a quirky code path,
decoding force-loaded lazy bytecode explicitly.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions