diff options
| author | Andrea Corallo | 2020-04-25 17:33:58 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-04-25 19:55:39 +0100 |
| commit | e95dca6683e9c8cd08f38bb4f73cbade06cfb209 (patch) | |
| tree | bc4ae3b3e6bc26b54538ad90316d2614ce5109d4 | |
| parent | d3984becca4111d55c540ecab93c5075efa5afba (diff) | |
| download | emacs-e95dca6683e9c8cd08f38bb4f73cbade06cfb209.tar.gz emacs-e95dca6683e9c8cd08f38bb4f73cbade06cfb209.zip | |
* Rename TEXT_OPTIM_QLY into TEXT_OPTIM_QLY_SYM.
* src/comp.c (TEXT_OPTIM_QLY): Rename into TEXT_OPTIM_QLY_SYM.
(emit_ctxt_code): Update TEXT_OPTIM_QLY naming.
(load_comp_unit): Likewise.
| -rw-r--r-- | src/comp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/comp.c b/src/comp.c index e95ab51cb56..70b0a25a9c0 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -49,7 +49,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 49 | #define TEXT_DATA_RELOC_IMPURE_SYM "text_data_reloc_imp" | 49 | #define TEXT_DATA_RELOC_IMPURE_SYM "text_data_reloc_imp" |
| 50 | #define TEXT_DATA_RELOC_EPHEMERAL_SYM "text_data_reloc_eph" | 50 | #define TEXT_DATA_RELOC_EPHEMERAL_SYM "text_data_reloc_eph" |
| 51 | 51 | ||
| 52 | #define TEXT_OPTIM_QLY "text_optim_qly" | 52 | #define TEXT_OPTIM_QLY_SYM "text_optim_qly" |
| 53 | #define TEXT_FDOC_SYM "text_data_fdoc" | 53 | #define TEXT_FDOC_SYM "text_data_fdoc" |
| 54 | 54 | ||
| 55 | 55 | ||
| @@ -2099,7 +2099,7 @@ emit_ctxt_code (void) | |||
| 2099 | Fsymbol_value (Qcomp_speed)), | 2099 | Fsymbol_value (Qcomp_speed)), |
| 2100 | Fcons (Qcomp_debug, | 2100 | Fcons (Qcomp_debug, |
| 2101 | Fsymbol_value (Qcomp_debug)) }; | 2101 | Fsymbol_value (Qcomp_debug)) }; |
| 2102 | emit_static_object (TEXT_OPTIM_QLY, Flist (2, opt_qly)); | 2102 | emit_static_object (TEXT_OPTIM_QLY_SYM, Flist (2, opt_qly)); |
| 2103 | 2103 | ||
| 2104 | emit_static_object (TEXT_FDOC_SYM, | 2104 | emit_static_object (TEXT_FDOC_SYM, |
| 2105 | CALL1I (comp-ctxt-doc-index-h, Vcomp_ctxt)); | 2105 | CALL1I (comp-ctxt-doc-index-h, Vcomp_ctxt)); |
| @@ -3622,7 +3622,8 @@ load_comp_unit (struct Lisp_Native_Comp_Unit *comp_u, bool loading_dump, | |||
| 3622 | /* Imported data. */ | 3622 | /* Imported data. */ |
| 3623 | if (!loading_dump) | 3623 | if (!loading_dump) |
| 3624 | { | 3624 | { |
| 3625 | comp_u->optimize_qualities = load_static_obj (comp_u, TEXT_OPTIM_QLY); | 3625 | comp_u->optimize_qualities = |
| 3626 | load_static_obj (comp_u, TEXT_OPTIM_QLY_SYM); | ||
| 3626 | comp_u->data_vec = load_static_obj (comp_u, TEXT_DATA_RELOC_SYM); | 3627 | comp_u->data_vec = load_static_obj (comp_u, TEXT_DATA_RELOC_SYM); |
| 3627 | comp_u->data_impure_vec = | 3628 | comp_u->data_impure_vec = |
| 3628 | load_static_obj (comp_u, TEXT_DATA_RELOC_IMPURE_SYM); | 3629 | load_static_obj (comp_u, TEXT_DATA_RELOC_IMPURE_SYM); |