]> git.eshelyaron.com Git - emacs.git/commit
Fix lambda-list relocation class
authorAndrea Corallo <akrl@sdf.org>
Tue, 30 Jun 2020 17:10:19 +0000 (19:10 +0200)
committerAndrea Corallo <akrl@sdf.org>
Tue, 30 Jun 2020 19:30:35 +0000 (21:30 +0200)
commit4681f330714b1ac1114f79d6bd2ac33150e1fcc4
treef011c3aff1a898bd25d39d9a1d6e111179fe96f9
parentd3ac3534b45f50769d866c25e795d4ca20572a18
Fix lambda-list relocation class

Lambda-lists must stay in the same relocation class of the object
referenced by code to respect uninterned symbols.

* lisp/emacs-lisp/comp.el (comp-prepare-args-for-top-level): Break
the original function in a generic specializing for
dynamic/lexical functions.  When allocating the lambda-list for
dynamic functions do that in the default relocation class.
(comp-emit-for-top-level): Make use of the new
`comp-prepare-args-for-top-level'.
(comp-emit-lambda-for-top-level): Likewise.
lisp/emacs-lisp/comp.el