diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-01-31 11:15:13 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-02-02 14:43:10 +0100 |
commit | f6955482c2933706229044c04d88b807b63a7095 (patch) | |
tree | fd3fd780238d6ac31089ae22579d2c05a4b281a8 /lisp/emacs-lisp/lisp.el | |
parent | 0571a3cc87f7c449796bb3eef38af4b2719b0bdf (diff) | |
download | emacs-f6955482c2933706229044c04d88b807b63a7095.tar.gz emacs-f6955482c2933706229044c04d88b807b63a7095.tar.bz2 emacs-f6955482c2933706229044c04d88b807b63a7095.zip |
Clean up LAP peephole logging
Make `byte-compile-log-lap` more robust and produce nicer output.
This is of interest for Elisp compiler maintainers only.
* lisp/emacs-lisp/byte-opt.el (bytecomp--log-lap-arg): New.
(byte-compile-log-lap-1): Extract argument conversion and rewrite
in a more modern way, fixing bugs. In particular, tags are now
displayed as "X:" where X is the tag number, and that tag number
is shown as argument to goto-like ops.
(byte-optimize-lapcode): Clean up and simplify logging, producing
useful information when `byte-optimize-log` is `byte` as intended.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions