aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.h
diff options
context:
space:
mode:
authorAndrea Corallo2020-04-26 09:11:33 +0100
committerAndrea Corallo2020-04-26 10:10:17 +0100
commitbb4cf13c47a1a24ce83233cc7b77dc87fc274d52 (patch)
tree2ae6445e1d524a04d1103171f0086883a5d96813 /src/comp.h
parent2878624980a116550e8b07acc76a24c373eab342 (diff)
downloademacs-bb4cf13c47a1a24ce83233cc7b77dc87fc274d52.tar.gz
emacs-bb4cf13c47a1a24ce83233cc7b77dc87fc274d52.zip
Convert before final function doc hash into a vector.
* lisp/emacs-lisp/comp.el (comp-finalize-relocs): Convert doc hash table into vector befor final. (comp-emit-for-top-level): Rename `comp-ctxt-doc-index-h' -> `comp-ctxt-function-docs'. (comp-ctxt): Likewise. * src/comp.c (native_function_doc): Update logic for documentation being a vector. (emit_ctxt_code): Update for 'comp-ctxt-doc-index-h' slot rename. * src/comp.h (struct Lisp_Native_Comp_Unit): Rename 'data_fdoc_h' into data_fdoc_v. * src/pdumper.c (dump_native_comp_unit): Likewise.
Diffstat (limited to 'src/comp.h')
-rw-r--r--src/comp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp.h b/src/comp.h
index 73baa27276e..cbdcaccd5fe 100644
--- a/src/comp.h
+++ b/src/comp.h
@@ -38,7 +38,7 @@ struct Lisp_Native_Comp_Unit
38 Lisp_Object file; 38 Lisp_Object file;
39 Lisp_Object optimize_qualities; 39 Lisp_Object optimize_qualities;
40 /* Hash doc-idx -> function documentaiton. */ 40 /* Hash doc-idx -> function documentaiton. */
41 Lisp_Object data_fdoc_h; 41 Lisp_Object data_fdoc_v;
42 /* Analogous to the constant vector but per compilation unit. */ 42 /* Analogous to the constant vector but per compilation unit. */
43 Lisp_Object data_vec; 43 Lisp_Object data_vec;
44 /* Same but for data that cannot be moved to pure space. 44 /* Same but for data that cannot be moved to pure space.