diff options
| author | Pip Cet | 2024-08-20 18:52:35 +0000 |
|---|---|---|
| committer | Stefan Kangas | 2024-12-12 22:48:11 +0100 |
| commit | f84ccff5a6275782a37534ed55b706db35f228ac (patch) | |
| tree | db1373a72944979b562ae8a8c750543f15396daf /src/comp.c | |
| parent | d359858b5d02e60c1d46c26750e5510c2606916a (diff) | |
| download | emacs-f84ccff5a6275782a37534ed55b706db35f228ac.tar.gz emacs-f84ccff5a6275782a37534ed55b706db35f228ac.zip | |
Pure storage removal: Main part
* src/alloc.c (pure, PUREBEG, purebeg, pure_size)
(pure_bytes_used_before_overflow, pure_bytes_used_lisp)
(pure_bytes_used_non_lisp): Remove definitions.
(init_strings): Make empty strings impure.
(cons_listn): Drop 'cons' argument.
(pure_listn): Remove function.
(init_vectors): Allocate zero vector manually to avoid freelist issues.
(pure_alloc, check_pure_size, find_string_data_in_pure)
(make_pure_string, make_pure_c_string, pure_cons, make_pure_float)
(make_pure_bignum, make_pure_vector, purecopy_hash_table): Remove
functions.
(purecopy): Reduce to hash consing our argument.
(init_alloc_once_for_pdumper): Adjust to lack of pure space.
(pure-bytes-used): Adjust docstring to mark as obsolete.
(purify-flag): Keep for hash consing, but adjust docstring.
* src/bytecode.c:
* src/comp.c: Don't include "puresize.h".
* src/conf_post.h (SYSTEM_PURESIZE_EXTRA): Remove definition.
* src/data.c (pure_write_error): Remove function.
* src/deps.mk: Remove puresize.h dependency throughout.
* src/emacs.c:
* src/fns.c:
* src/intervals.c:
* src/keymap.c: Don't include "puresize.h".
* src/lisp.h (struct Lisp_Hash_Table): Adjust comment.
(pure_listn, pure_list, build_pure_c_string): Remove.
* src/w32heap.c (FREEABLE_P): Don't do use 'dumped_data'.
(malloc_before_dump, realloc_before_dump, free_before_dump): Remove
functions.
* src/w32heap.h: Adjust prototype.
* lisp/loadup.el:
* lisp/startup.el: Remove purespace code.
Diffstat (limited to 'src/comp.c')
| -rw-r--r-- | src/comp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c index cee2859c2eb..e89385de1d6 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -31,7 +31,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 31 | #include <libgccjit.h> | 31 | #include <libgccjit.h> |
| 32 | #include <epaths.h> | 32 | #include <epaths.h> |
| 33 | 33 | ||
| 34 | #include "puresize.h" | ||
| 35 | #include "window.h" | 34 | #include "window.h" |
| 36 | #include "dynlib.h" | 35 | #include "dynlib.h" |
| 37 | #include "buffer.h" | 36 | #include "buffer.h" |