]> git.eshelyaron.com Git - emacs.git/commit
comp: Recompute type slots after byte compilation for user types
authorAndrea Corallo <akrl@sdf.org>
Sun, 28 May 2023 12:49:19 +0000 (14:49 +0200)
committerAndrea Corallo <akrl@sdf.org>
Mon, 29 May 2023 16:04:30 +0000 (18:04 +0200)
commit56a8d57d032c17263ba70139b85c94436e528572
tree3905bad109ad52b91e3d9da15535c8d8b95b6f94
parentedcdb4c2ecd16e9838f2359ea4f1c66030ffadaf
comp: Recompute type slots after byte compilation for user types

* lisp/emacs-lisp/comp-cstr.el (comp--compute-typeof-types)
(comp--compute--pred-type-h): New functions.
(comp-cstr-ctxt): Make use of.
(comp-cstr-ctxt-update-type-slots): New function.

* lisp/emacs-lisp/comp.el (comp-spill-lap): Use
`comp-cstr-ctxt-update-type-slots'.
lisp/emacs-lisp/comp-cstr.el
lisp/emacs-lisp/comp.el