]> git.eshelyaron.com Git - emacs.git/commit
Rework spill LAP mechanism in preparation of compiling lambdas.
authorAndrea Corallo <akrl@sdf.org>
Sun, 26 Apr 2020 18:55:26 +0000 (19:55 +0100)
committerAndrea Corallo <akrl@sdf.org>
Sun, 26 Apr 2020 21:17:37 +0000 (22:17 +0100)
commitf8b254d1957a86645bfcc6ce452d97b9286910a2
tree6c1a9731ae77907408bb8b2bdd9ba2099643493f
parente6fb440ed7e48c2e8c4bba4666db2f0ff9950a25
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.
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/comp.el