diff options
| author | Vibhav Pant | 2023-03-08 18:52:20 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2023-03-08 18:52:20 +0530 |
| commit | 82226254c86b44f8a35d0d9f5b4bb7070c631176 (patch) | |
| tree | f12ee229dd0a3f47289599815038484989ba3ca9 /lib/malloc/dynarray_resize.c | |
| parent | 9ab4d23e7657934f6847b74ece422d46814eb7cb (diff) | |
| download | emacs-82226254c86b44f8a35d0d9f5b4bb7070c631176.tar.gz emacs-82226254c86b44f8a35d0d9f5b4bb7070c631176.zip | |
Use ephemeral and staticvec vectors to refer to allocated objects.
When compiling with USE_COMP_STATIC_LISP_OBJECTS, don't create new
globals for objects that need to be initialized in
comp_init_objs. Instead, use array references to the ephemeral and
staticvec vectors.
* src/comp.c (emit_static_lisp_obj_var): Take alloc_class as a
parameter, use it to determine which array to reference.
(define_init_objs): Set the ephemeral and staticvec pointers to the
newly created container vectors, remove init_vars_block.
(Fcomp__compile_ctxt_to_file): Initialize the ephemeral and staticvec
pointers for the compilation context.
Diffstat (limited to 'lib/malloc/dynarray_resize.c')
0 files changed, 0 insertions, 0 deletions