]> git.eshelyaron.com Git - emacs.git/commitdiff
add helper_unwind_protect as runtime imported
authorAndrea Corallo <andrea_corallo@yahoo.it>
Mon, 2 Sep 2019 09:51:32 +0000 (11:51 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:37:42 +0000 (11:37 +0100)
src/comp.c

index 453d6f6fe2cb26f6d5f7cfd4002d4a46852e4b5a..a08077ee41dee2622635cd348c9e6a4165822b67 100644 (file)
@@ -1649,6 +1649,9 @@ declare_runtime_imported (void)
   args[3] = comp.int_type;
   ADD_IMPORTED ("set_internal", comp.void_type, 4, args);
 
+  args[0] = comp.lisp_obj_type;
+  ADD_IMPORTED ("helper_unwind_protect", comp.void_type, 1, args);
+
 #undef ADD_IMPORTED
 
   return field_list;
@@ -3128,6 +3131,9 @@ load_comp_unit (dynlib_handle_ptr handle)
        } else if (!strcmp (f_str, "set_internal"))
        {
          f_relocs[i] = (void *) set_internal;
+       } else if (!strcmp (f_str, "helper_unwind_protect"))
+       {
+         f_relocs[i] = (void *) helper_unwind_protect;
        } else
        {
          error ("Unexpected function relocation %s", f_str);