@@ -514,6 +514,10 @@ load_gccjit_if_necessary (bool mandatory)
514
514
#define CALL2I (fun , arg1 , arg2 ) \
515
515
CALLN (Ffuncall, intern_c_string (STR (fun)), arg1, arg2)
516
516
517
+ /* Like call4 but stringify and intern. */
518
+ #define CALL4I (fun , arg1 , arg2 , arg3 , arg4 ) \
519
+ CALLN (Ffuncall, intern_c_string (STR (fun)), arg1, arg2, arg3, arg4)
520
+
517
521
#define DECL_BLOCK (name , func ) \
518
522
gcc_jit_block *(name) = \
519
523
gcc_jit_function_new_block ((func), STR (name))
@@ -4991,7 +4995,8 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file,
4991
4995
format_string ("%s_libgccjit_repro.c" , SSDATA (ebase_name )));
4992
4996
4993
4997
Lisp_Object tmp_file =
4994
- Fmake_temp_file_internal (base_name , Qnil , build_string (".eln.tmp" ), Qnil );
4998
+ CALL4I (make - temp - file , base_name , Qnil , build_string (".eln.tmp" ), Qnil );
4999
+
4995
5000
Lisp_Object encoded_tmp_file = ENCODE_FILE (tmp_file );
4996
5001
#ifdef WINDOWSNT
4997
5002
encoded_tmp_file = ansi_encode_filename (encoded_tmp_file );
0 commit comments