diff options
Diffstat (limited to 'src/comp.c')
| -rw-r--r-- | src/comp.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c index e18bace6683..947da9a8e27 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -1338,11 +1338,23 @@ emit_mvar_rval (Lisp_Object mvar) | |||
| 1338 | 1338 | ||
| 1339 | if (!NILP (const_vld)) | 1339 | if (!NILP (const_vld)) |
| 1340 | { | 1340 | { |
| 1341 | if (COMP_DEBUG > 1) | ||
| 1342 | { | ||
| 1343 | Lisp_Object func = | ||
| 1344 | Fgethash (constant, | ||
| 1345 | CALL1I (comp-ctxt-byte-func-to-func-h, Vcomp_ctxt), | ||
| 1346 | Qnil); | ||
| 1347 | |||
| 1348 | emit_comment ( | ||
| 1349 | SSDATA ( | ||
| 1350 | Fprin1_to_string ( | ||
| 1351 | NILP (func) ? constant : CALL1I (comp-func-c-name, func), | ||
| 1352 | Qnil))); | ||
| 1353 | } | ||
| 1341 | if (FIXNUMP (constant)) | 1354 | if (FIXNUMP (constant)) |
| 1342 | { | 1355 | { |
| 1343 | /* We can still emit directly objects that are self-contained in a | 1356 | /* We can still emit directly objects that are self-contained in a |
| 1344 | word (read fixnums). */ | 1357 | word (read fixnums). */ |
| 1345 | emit_comment (SSDATA (Fprin1_to_string (constant, Qnil))); | ||
| 1346 | gcc_jit_rvalue *word; | 1358 | gcc_jit_rvalue *word; |
| 1347 | #ifdef WIDE_EMACS_INT | 1359 | #ifdef WIDE_EMACS_INT |
| 1348 | word = emit_rvalue_from_long_long (constant); | 1360 | word = emit_rvalue_from_long_long (constant); |