summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-06-11 22:22:00 +0200
committerAndrea Corallo <akrl@sdf.org>2020-06-11 22:22:00 +0200
commit506febd5e72b0cd48acdf8887fb95701004b6e43 (patch)
tree85a2fd33001c7056bc7cf15c438fc64c7716cac3 /lisp/emacs-lisp/syntax.el
parentdd939d7484adad7735e66b1759283d00df708e70 (diff)
downloademacs-506febd5e72b0cd48acdf8887fb95701004b6e43.tar.gz
emacs-506febd5e72b0cd48acdf8887fb95701004b6e43.tar.bz2
emacs-506febd5e72b0cd48acdf8887fb95701004b6e43.zip
Remove `Vcomp_sym_subr_c_name_h'
Given there's no more unique relation symbol-name -> c-name remove `Vcomp_sym_subr_c_name_h' and store the c_name directly in struct Lisp_Subr. The old approach would have failed dumping two functions with the same symbol-name. * src/lisp.h (struct Lisp_Subr): Add 'native_c_name' field. * src/pdumper.c (dump_subr): Update hash + dump 'native_c_name'. (dump_cold_native_subr): dump 'native_c_name'. (dump_do_dump_relocation): Update logic for reviving using 'native_c_name'. * src/comp.c (make_subr): Update for 'native_c_name' field. (Fcomp__register_lambda, Fcomp__register_subr): Clean-up code for 'Vcomp_sym_subr_c_name_h' removal. (syms_of_comp): Remove 'Vcomp_sym_subr_c_name_h'.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions