diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-04-26 19:55:26 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-04-26 22:17:37 +0100 |
commit | f8b254d1957a86645bfcc6ce452d97b9286910a2 (patch) | |
tree | 6c1a9731ae77907408bb8b2bdd9ba2099643493f /test/lisp/emacs-lisp | |
parent | e6fb440ed7e48c2e8c4bba4666db2f0ff9950a25 (diff) | |
download | emacs-f8b254d1957a86645bfcc6ce452d97b9286910a2.tar.gz emacs-f8b254d1957a86645bfcc6ce452d97b9286910a2.tar.bz2 emacs-f8b254d1957a86645bfcc6ce452d97b9286910a2.zip |
Rework spill LAP mechanism in preparation of compiling lambdas.
* lisp/emacs-lisp/comp.el (comp-spill-lap-function): No need anymore
to have `byte-native-compiling' bound to free-func.
(comp-spill-lap-function): Make use of `byte-to-native-lap-h' and
clean-up.
(comp-spill-lap-function): Likewise.
* lisp/emacs-lisp/bytecomp.el (byte-to-native-function): Add lap slot.
(byte-to-native-lap): Rename into byte-to-native-lap-h.
(byte-compile-lapcode): Spill lap after having int assembled and
store it into `byte-to-native-lap-h'.
(byte-compile-not-top-level): Remove.
(byte-compile-file-form-defmumble): Fill directly lap slot.
(byte-compile-lambda): Remove `byte-compile-not-top-level'.
(byte-compile-out-toplevel): Restore original code.
(byte-compile-form): Remove `byte-compile-not-top-level'.
(byte-compile-function-form): Likewise.
(byte-compile-flush-pending): No need anymore to set
`byte-compile-current-form' so restore orignal code.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions