]> git.eshelyaron.com Git - emacs.git/commit
Change 'direct-call' 'direct-callref' LIMPLE ops sematinc
authorAndrea Corallo <akrl@sdf.org>
Sat, 6 Jun 2020 11:30:59 +0000 (13:30 +0200)
committerAndrea Corallo <akrl@sdf.org>
Sat, 6 Jun 2020 21:03:11 +0000 (22:03 +0100)
commite8ab017b6d45aea2514a49f974e649ad1f7297ad
tree78486df3e023742c8735b435c4e16d6830ad8167
parente38678b268c2a3f77d1fa32a55706fb9e077405c
Change 'direct-call' 'direct-callref' LIMPLE ops sematinc

Is cleaner to have the function c-name as first argument of
'direct-call' 'direct-callref'.  This is preparatory to anonymous
lambdas optimization.

* lisp/emacs-lisp/comp.el (comp-propagate-insn): Use c-name when
gathering the comp-func definition for direct calls.
(comp-call-optim-form-call): Add put c-name as first argument of
direct-call direct-callref when optimizing.

* src/comp.c (emit_call): Update logic for having c-name as
first arg of direct calls.
(emit_call_ref): Rename 'subr_sym' into 'func'.
lisp/emacs-lisp/comp.el
src/comp.c