diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-07-01 14:36:49 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-07-01 18:59:29 -0400 |
commit | 3daf833ff3f3e99b44731808cb197c0912649997 (patch) | |
tree | c63bb2c7f232d63fed8678e4ae6c03e1d926eb7a /src/fontset.c | |
parent | 3a4c408a7b6f3df5ca0eb4a406efbdb4899e9742 (diff) | |
download | emacs-3daf833ff3f3e99b44731808cb197c0912649997.tar.gz |
src/alloc.c: Remove all uses of `pure_alloc`
First step of removal of the purespace: stop using it.
The more delicate parts are the handling of 0-length strings and
vectors which we used to allocate in purespace but now need to be
allocated elsewhere, but the existing code makes us work harder to
allocate them in the normal way.
* src/alloc.c: Remove all uses of `pure_alloc`.
(init_strings): Alloc empty strings in the normal heap.
(init_vectors): Allocate the zero_vector in the normal heap.
(make_pure_string, make_pure_c_string, pure_cons): Rewrite to create
normal heap objects.
(find_string_data_in_pure, make_pure_float, make_pure_bignum)
(make_pure_vector, purecopy_hash_table): Delete functions.
(purecopy): Return without purecopying.
Diffstat (limited to 'src/fontset.c')
0 files changed, 0 insertions, 0 deletions