diff options
| author | Andrea Corallo | 2019-09-23 22:49:00 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2020-01-01 11:37:53 +0100 |
| commit | 89abc8d66f7668060305e9f0e5dc3ebfddfff3fa (patch) | |
| tree | c2314502fb0f3b9db61ca0068e123524cd113bf0 /src | |
| parent | 9b5f8ebb5bb970c34400b149190b2d16886ae814 (diff) | |
| download | emacs-89abc8d66f7668060305e9f0e5dc3ebfddfff3fa.tar.gz emacs-89abc8d66f7668060305e9f0e5dc3ebfddfff3fa.zip | |
move gcc_jit_context_dump_reproducer_to_file
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp.c b/src/comp.c index 52309fe8217..ce6a43af798 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -2863,8 +2863,6 @@ DEFUN ("comp--init-ctxt", Fcomp__init_ctxt, Scomp__init_ctxt, | |||
| 2863 | gcc_jit_context_set_bool_option (comp.ctxt, | 2863 | gcc_jit_context_set_bool_option (comp.ctxt, |
| 2864 | GCC_JIT_BOOL_OPTION_DUMP_EVERYTHING, | 2864 | GCC_JIT_BOOL_OPTION_DUMP_EVERYTHING, |
| 2865 | 1); | 2865 | 1); |
| 2866 | gcc_jit_context_dump_reproducer_to_file (comp.ctxt, "comp_reproducer.c"); | ||
| 2867 | |||
| 2868 | } | 2866 | } |
| 2869 | 2867 | ||
| 2870 | comp.void_type = gcc_jit_context_get_type (comp.ctxt, GCC_JIT_TYPE_VOID); | 2868 | comp.void_type = gcc_jit_context_get_type (comp.ctxt, GCC_JIT_TYPE_VOID); |
| @@ -3038,6 +3036,8 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file, | |||
| 3038 | (const char *) SDATA (CALLN (Fconcat, ctxtname, dot_c)); | 3036 | (const char *) SDATA (CALLN (Fconcat, ctxtname, dot_c)); |
| 3039 | gcc_jit_context_dump_to_file (comp.ctxt, filename, 1); | 3037 | gcc_jit_context_dump_to_file (comp.ctxt, filename, 1); |
| 3040 | } | 3038 | } |
| 3039 | if (COMP_DEBUG > 1) | ||
| 3040 | gcc_jit_context_dump_reproducer_to_file (comp.ctxt, "comp_reproducer.c"); | ||
| 3041 | 3041 | ||
| 3042 | AUTO_STRING (dot_so, NATIVE_ELISP_SUFFIX); | 3042 | AUTO_STRING (dot_so, NATIVE_ELISP_SUFFIX); |
| 3043 | const char *filename = | 3043 | const char *filename = |