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/bytecode.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/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 48a29c22d55..f719b036d14 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -27,7 +27,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 27 | #include "keyboard.h" | 27 | #include "keyboard.h" |
| 28 | #include "syntax.h" | 28 | #include "syntax.h" |
| 29 | #include "window.h" | 29 | #include "window.h" |
| 30 | #include "puresize.h" | ||
| 31 | 30 | ||
| 32 | /* Define BYTE_CODE_SAFE true to enable some minor sanity checking, | 31 | /* Define BYTE_CODE_SAFE true to enable some minor sanity checking, |
| 33 | useful for debugging the byte compiler. It defaults to false. */ | 32 | useful for debugging the byte compiler. It defaults to false. */ |