diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/comp.c b/src/comp.c index 98932f79bb0..33ed4d6397b 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -2699,9 +2699,9 @@ compile_function (Lisp_Object func) | |||
| 2699 | frame_size), | 2699 | frame_size), |
| 2700 | "local"); | 2700 | "local"); |
| 2701 | 2701 | ||
| 2702 | gcc_jit_lvalue **frame = SAFE_ALLOCA (frame_size * sizeof (*frame)); | 2702 | comp.frame = SAFE_ALLOCA (frame_size * sizeof (*comp.frame)); |
| 2703 | for (int i = 0; i < frame_size; ++i) | 2703 | for (int i = 0; i < frame_size; ++i) |
| 2704 | frame[i] = | 2704 | comp.frame[i] = |
| 2705 | gcc_jit_context_new_array_access ( | 2705 | gcc_jit_context_new_array_access ( |
| 2706 | comp.ctxt, | 2706 | comp.ctxt, |
| 2707 | NULL, | 2707 | NULL, |
| @@ -2709,7 +2709,6 @@ compile_function (Lisp_Object func) | |||
| 2709 | gcc_jit_context_new_rvalue_from_int (comp.ctxt, | 2709 | gcc_jit_context_new_rvalue_from_int (comp.ctxt, |
| 2710 | comp.int_type, | 2710 | comp.int_type, |
| 2711 | i)); | 2711 | i)); |
| 2712 | comp.frame = frame; | ||
| 2713 | 2712 | ||
| 2714 | comp.func_blocks = CALLN (Fmake_hash_table); | 2713 | comp.func_blocks = CALLN (Fmake_hash_table); |
| 2715 | 2714 | ||