aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrea Corallo2019-06-30 12:07:32 +0200
committerAndrea Corallo2020-01-01 11:33:47 +0100
commit45c1b64ce68ea4416141d66af07bb24f4fda9930 (patch)
treee0a191928ba39279a6fd1ead8be374ab251dbe07 /src
parent7363e5c24c13c586615c41d92f3fbdf9c207accd (diff)
downloademacs-45c1b64ce68ea4416141d66af07bb24f4fda9930.tar.gz
emacs-45c1b64ce68ea4416141d66af07bb24f4fda9930.zip
pass orig lisp f name into compile_f
Diffstat (limited to 'src')
-rw-r--r--src/comp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/comp.c b/src/comp.c
index 3f4c0d8aaa3..fa5b6217169 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -2023,8 +2023,8 @@ release_comp (void)
2023} 2023}
2024 2024
2025static comp_f_res_t 2025static comp_f_res_t
2026compile_f (const char *f_name, ptrdiff_t bytestr_length, 2026compile_f (const char *lisp_f_name, const char *c_f_name,
2027 unsigned char *bytestr_data, 2027 ptrdiff_t bytestr_length, unsigned char *bytestr_data,
2028 EMACS_INT stack_depth, Lisp_Object *vectorp, 2028 EMACS_INT stack_depth, Lisp_Object *vectorp,
2029 ptrdiff_t vector_size, Lisp_Object args_template) 2029 ptrdiff_t vector_size, Lisp_Object args_template)
2030{ 2030{
@@ -2067,7 +2067,7 @@ compile_f (const char *f_name, ptrdiff_t bytestr_length,
2067 2067
2068 2068
2069 /* Current function being compiled. */ 2069 /* Current function being compiled. */
2070 comp.func = emit_func_declare (f_name, comp.lisp_obj_type, comp_res.max_args, 2070 comp.func = emit_func_declare (c_f_name, comp.lisp_obj_type, comp_res.max_args,
2071 NULL, GCC_JIT_FUNCTION_EXPORTED, false); 2071 NULL, GCC_JIT_FUNCTION_EXPORTED, false);
2072 2072
2073 gcc_jit_lvalue *meta_stack_array = 2073 gcc_jit_lvalue *meta_stack_array =
@@ -3157,8 +3157,8 @@ emacs_native_compile (const char *lisp_f_name, const char *c_f_name,
3157 sigset_t oldset; 3157 sigset_t oldset;
3158 block_atimers (&oldset); 3158 block_atimers (&oldset);
3159 3159
3160 comp_f_res_t comp_res = compile_f (c_f_name, bytestr_length, SDATA (bytestr), 3160 comp_f_res_t comp_res = compile_f (lisp_f_name, c_f_name, bytestr_length,
3161 XFIXNAT (maxdepth) + 1, 3161 SDATA (bytestr), XFIXNAT (maxdepth) + 1,
3162 vectorp, ASIZE (vector), 3162 vectorp, ASIZE (vector),
3163 AREF (func, COMPILED_ARGLIST)); 3163 AREF (func, COMPILED_ARGLIST));
3164 3164