diff options
| author | Andrea Corallo | 2020-05-09 19:07:35 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-05-09 19:09:33 +0100 |
| commit | bd8be64ce3f314c152d009f5bf88bcfadf6daef7 (patch) | |
| tree | 3eb246657edddfd443d5355b3b4bbde145e608e6 /src | |
| parent | c6eb2760766b402fb620a733d100adfd320e4df5 (diff) | |
| download | emacs-bd8be64ce3f314c152d009f5bf88bcfadf6daef7.tar.gz emacs-bd8be64ce3f314c152d009f5bf88bcfadf6daef7.zip | |
* Fix --enable-check-lisp-object-type GNU/Linux X86_64 build
* src/comp.c (emit_mvar_val): Fix missing use of XLP macro.
(load_comp_unit): Fix missing use of NILP macro.
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp.c b/src/comp.c index d021be479b0..768172b3aa1 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -1343,7 +1343,7 @@ emit_mvar_val (Lisp_Object mvar) | |||
| 1343 | word = | 1343 | word = |
| 1344 | gcc_jit_context_new_rvalue_from_ptr (comp.ctxt, | 1344 | gcc_jit_context_new_rvalue_from_ptr (comp.ctxt, |
| 1345 | comp.void_ptr_type, | 1345 | comp.void_ptr_type, |
| 1346 | constant); | 1346 | XLP (constant)); |
| 1347 | #endif | 1347 | #endif |
| 1348 | return emit_coerce (comp.lisp_obj_type, word); | 1348 | return emit_coerce (comp.lisp_obj_type, word); |
| 1349 | } | 1349 | } |
| @@ -3564,7 +3564,7 @@ load_comp_unit (struct Lisp_Native_Comp_Unit *comp_u, bool loading_dump, | |||
| 3564 | Lisp_Object *saved_cu = dynlib_sym (handle, COMP_UNIT_SYM); | 3564 | Lisp_Object *saved_cu = dynlib_sym (handle, COMP_UNIT_SYM); |
| 3565 | if (!saved_cu) | 3565 | if (!saved_cu) |
| 3566 | xsignal1 (Qnative_lisp_file_inconsistent, comp_u->file); | 3566 | xsignal1 (Qnative_lisp_file_inconsistent, comp_u->file); |
| 3567 | bool reloading_cu = *saved_cu ? true : false; | 3567 | bool reloading_cu = !NILP (*saved_cu) ? true : false; |
| 3568 | Lisp_Object *data_eph_relocs = | 3568 | Lisp_Object *data_eph_relocs = |
| 3569 | dynlib_sym (handle, DATA_RELOC_EPHEMERAL_SYM); | 3569 | dynlib_sym (handle, DATA_RELOC_EPHEMERAL_SYM); |
| 3570 | 3570 | ||