aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo2019-08-18 11:06:48 +0200
committerAndrea Corallo2020-01-01 11:34:02 +0100
commit941937d295dce322e00a1d77b61041e6bda5cfd8 (patch)
tree06ed818f035a40881372969e4cd5d6ea8e0517db /src/comp.c
parent52089993aa3231ccdfd0469aeb7c3e7b6b89edad (diff)
downloademacs-941937d295dce322e00a1d77b61041e6bda5cfd8.tar.gz
emacs-941937d295dce322e00a1d77b61041e6bda5cfd8.zip
disable const vect per function
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/comp.c b/src/comp.c
index 32ece133c5e..b1116aa961b 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -1360,23 +1360,6 @@ emit_limple_insn (Lisp_Object insn)
1360 /* Ex: (comment "Function: foo"). */ 1360 /* Ex: (comment "Function: foo"). */
1361 emit_comment((char *) SDATA (arg0)); 1361 emit_comment((char *) SDATA (arg0));
1362 } 1362 }
1363 else if (EQ (op, Qconst_vector))
1364 {
1365 /* Ex: (const-vector "F666f6f_foo_reloc"
1366 "[a b c 1 2]"). */
1367 Lisp_Object vec = SECOND (args);
1368 EMACS_INT v_len = XFIXNUM (FUNCALL1 (length, vec));
1369
1370 gcc_jit_context_new_global (
1371 comp.ctxt,
1372 NULL,
1373 GCC_JIT_GLOBAL_INTERNAL,
1374 gcc_jit_context_new_array_type (comp.ctxt,
1375 NULL,
1376 comp.lisp_obj_type,
1377 v_len),
1378 (char *) SDATA (arg0));
1379 }
1380 else if (EQ (op, Qreturn)) 1363 else if (EQ (op, Qreturn))
1381 { 1364 {
1382 gcc_jit_block_end_with_return (comp.block, 1365 gcc_jit_block_end_with_return (comp.block,