diff options
| author | AndreaCorallo | 2020-02-06 20:41:52 +0000 |
|---|---|---|
| committer | AndreaCorallo | 2020-02-06 20:41:52 +0000 |
| commit | 0da62d94e2a167d5ccfd8ece03623afdc178154c (patch) | |
| tree | 509b64be699818de73544ee0554d327a89736f4a /src/comp.c | |
| parent | 0cef208cc32c29b143be262fe673e7518b6ef2a8 (diff) | |
| download | emacs-0da62d94e2a167d5ccfd8ece03623afdc178154c.tar.gz emacs-0da62d94e2a167d5ccfd8ece03623afdc178154c.zip | |
Change parameter name into comp--compile-ctxt-to-file
Diffstat (limited to 'src/comp.c')
| -rw-r--r-- | src/comp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/comp.c b/src/comp.c index 0b7b2b92615..9dcd5547de6 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -3212,9 +3212,9 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file, | |||
| 3212 | Scomp__compile_ctxt_to_file, | 3212 | Scomp__compile_ctxt_to_file, |
| 3213 | 1, 1, 0, | 3213 | 1, 1, 0, |
| 3214 | doc: /* Compile as native code the current context to file. */) | 3214 | doc: /* Compile as native code the current context to file. */) |
| 3215 | (Lisp_Object ctxtname) | 3215 | (Lisp_Object base_name) |
| 3216 | { | 3216 | { |
| 3217 | CHECK_STRING (ctxtname); | 3217 | CHECK_STRING (base_name); |
| 3218 | 3218 | ||
| 3219 | gcc_jit_context_set_int_option (comp.ctxt, | 3219 | gcc_jit_context_set_int_option (comp.ctxt, |
| 3220 | GCC_JIT_INT_OPTION_OPTIMIZATION_LEVEL, | 3220 | GCC_JIT_INT_OPTION_OPTIMIZATION_LEVEL, |
| @@ -3261,16 +3261,16 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file, | |||
| 3261 | 3261 | ||
| 3262 | if (COMP_DEBUG) | 3262 | if (COMP_DEBUG) |
| 3263 | gcc_jit_context_dump_to_file (comp.ctxt, | 3263 | gcc_jit_context_dump_to_file (comp.ctxt, |
| 3264 | format_string ("%s.c", SSDATA (ctxtname)), | 3264 | format_string ("%s.c", SSDATA (base_name)), |
| 3265 | 1); | 3265 | 1); |
| 3266 | if (COMP_DEBUG > 2) | 3266 | if (COMP_DEBUG > 2) |
| 3267 | gcc_jit_context_dump_reproducer_to_file (comp.ctxt, "comp_reproducer.c"); | 3267 | gcc_jit_context_dump_reproducer_to_file (comp.ctxt, "comp_reproducer.c"); |
| 3268 | 3268 | ||
| 3269 | AUTO_STRING (dot_so, NATIVE_ELISP_SUFFIX); | 3269 | AUTO_STRING (dot_so, NATIVE_ELISP_SUFFIX); |
| 3270 | 3270 | ||
| 3271 | Lisp_Object out_file = CALLN (Fconcat, ctxtname, dot_so); | 3271 | Lisp_Object out_file = CALLN (Fconcat, base_name, dot_so); |
| 3272 | Lisp_Object tmp_file = | 3272 | Lisp_Object tmp_file = |
| 3273 | Fmake_temp_file_internal (ctxtname, Qnil, dot_so, Qnil); | 3273 | Fmake_temp_file_internal (base_name, Qnil, dot_so, Qnil); |
| 3274 | gcc_jit_context_compile_to_file (comp.ctxt, | 3274 | gcc_jit_context_compile_to_file (comp.ctxt, |
| 3275 | GCC_JIT_OUTPUT_KIND_DYNAMIC_LIBRARY, | 3275 | GCC_JIT_OUTPUT_KIND_DYNAMIC_LIBRARY, |
| 3276 | SSDATA (tmp_file)); | 3276 | SSDATA (tmp_file)); |