diff options
| author | Andrea Corallo | 2019-08-11 12:24:15 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2020-01-01 11:33:59 +0100 |
| commit | 128cc4a2f401e96936e9e5791e65fbdc35ace6b2 (patch) | |
| tree | cc4fed3cfcd047e74340f64622f0f601887fec07 /src | |
| parent | 3e18100038a0514b1ea6bee01a141f1477fdfbf6 (diff) | |
| download | emacs-128cc4a2f401e96936e9e5791e65fbdc35ace6b2.tar.gz emacs-128cc4a2f401e96936e9e5791e65fbdc35ace6b2.zip | |
add record_unwind_protect_excursion support
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/comp.c b/src/comp.c index 7f1219780cc..90fa5ccdfa3 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -2073,6 +2073,8 @@ DEFUN ("comp-init-ctxt", Fcomp_init_ctxt, Scomp_init_ctxt, | |||
| 2073 | emit_simple_limple_call_void_ret); | 2073 | emit_simple_limple_call_void_ret); |
| 2074 | register_emitter (Qrecord_unwind_current_buffer, | 2074 | register_emitter (Qrecord_unwind_current_buffer, |
| 2075 | emit_simple_limple_call_lisp_ret); | 2075 | emit_simple_limple_call_lisp_ret); |
| 2076 | register_emitter (Qrecord_unwind_protect_excursion, | ||
| 2077 | emit_simple_limple_call_void_ret); | ||
| 2076 | } | 2078 | } |
| 2077 | 2079 | ||
| 2078 | comp.ctxt = gcc_jit_context_acquire(); | 2080 | comp.ctxt = gcc_jit_context_acquire(); |
| @@ -2452,6 +2454,7 @@ syms_of_comp (void) | |||
| 2452 | DEFSYM (Qentry, "entry"); | 2454 | DEFSYM (Qentry, "entry"); |
| 2453 | DEFSYM (Qset_internal, "set_internal"); | 2455 | DEFSYM (Qset_internal, "set_internal"); |
| 2454 | DEFSYM (Qrecord_unwind_current_buffer, "record_unwind_current_buffer"); | 2456 | DEFSYM (Qrecord_unwind_current_buffer, "record_unwind_current_buffer"); |
| 2457 | DEFSYM (Qrecord_unwind_protect_excursion, "record_unwind_protect_excursion"); | ||
| 2455 | DEFSYM (Qhelper_unbind_n, "helper_unbind_n"); | 2458 | DEFSYM (Qhelper_unbind_n, "helper_unbind_n"); |
| 2456 | DEFSYM (Qhelper_unwind_protect, "helper_unwind_protect"); | 2459 | DEFSYM (Qhelper_unwind_protect, "helper_unwind_protect"); |
| 2457 | 2460 | ||