diff options
| author | Pip Cet | 2024-08-20 19:00:20 +0000 |
|---|---|---|
| committer | Stefan Kangas | 2024-12-12 22:48:11 +0100 |
| commit | 5ec86966638885a0f8df8afa28a01ca103ad2a49 (patch) | |
| tree | ce1d613e653327b7cc366fe46dbf75e53096fd44 /src/bytecode.c | |
| parent | f84ccff5a6275782a37534ed55b706db35f228ac (diff) | |
| download | emacs-5ec86966638885a0f8df8afa28a01ca103ad2a49.tar.gz emacs-5ec86966638885a0f8df8afa28a01ca103ad2a49.zip | |
Pure storage removal: Replace calls to removed functions
* src/alloc.c (string_bytes, pin_string, valid_lisp_object_p)
(process_mark_stack, survives_gc_p, syms_of_alloc):
* src/androidterm.c (android_term_init): Replace call to
'build_pure_c_string'.
* src/buffer.c (init_buffer_once, syms_of_buffer):
* src/bytecode.c (exec_byte_code):
* src/callint.c (syms_of_callint):
* src/callproc.c (syms_of_callproc):
* src/category.c (Fdefine_category):
* src/coding.c (syms_of_coding):
* src/comp.c (Fcomp__compile_ctxt_to_file0)
(maybe_defer_native_compilation, syms_of_comp):
* src/data.c (Fsetcar, Fsetcdr, Fdefalias, Faset, syms_of_data):
* src/dbusbind.c (syms_of_dbusbind):
* src/doc.c (Fsnarf_documentation):
* src/emacs-module.c (syms_of_module):
* src/eval.c (Finternal__define_uninitialized_variable)
(Fdefconst_1, define_error, syms_of_eval):
* src/fileio.c (syms_of_fileio):
* src/fns.c (Ffillarray, Fclear_string, check_mutable_hash_table):
* src/fontset.c (syms_of_fontset):
* src/frame.c (make_initial_frame):
* src/haikufns.c (syms_of_haikufns):
* src/intervals.c (create_root_interval):
* src/keyboard.c (syms_of_keyboard):
* src/keymap.c (Fmake_sparse_keymap, Fset_keymap_parent)
(store_in_keymap, syms_of_keymap):
* src/lisp.h:
* src/lread.c (Fload, read0, intern_c_string_1, define_symbol)
(Fintern, defsubr, syms_of_lread):
* src/pdumper.c (Fdump_emacs_portable):
* src/pgtkfns.c (syms_of_pgtkfns):
* src/pgtkterm.c (syms_of_pgtkterm):
* src/process.c (syms_of_process):
* src/search.c (syms_of_search):
* src/sqlite.c (syms_of_sqlite):
* src/syntax.c (syms_of_syntax):
* src/treesit.c (syms_of_treesit):
* src/w32fns.c (syms_of_w32fns):
* src/xdisp.c (syms_of_xdisp):
* src/xfaces.c (syms_of_xfaces):
* src/xfns.c (syms_of_xfns):
* src/xftfont.c (syms_of_xftfont):
* src/xterm.c (syms_of_xterm): Remove calls to 'PURE_P', 'CHECK_IMPURE',
'Fpurecopy', and replace calls to 'build_pure_c_string', 'pure_list',
'pure_listn', etc., by impure equivalents.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index f719b036d14..75a040a8489 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -1638,7 +1638,6 @@ exec_byte_code (Lisp_Object fun, ptrdiff_t args_template, | |||
| 1638 | record_in_backtrace (Qsetcar, &TOP, 2); | 1638 | record_in_backtrace (Qsetcar, &TOP, 2); |
| 1639 | wrong_type_argument (Qconsp, cell); | 1639 | wrong_type_argument (Qconsp, cell); |
| 1640 | } | 1640 | } |
| 1641 | CHECK_IMPURE (cell, XCONS (cell)); | ||
| 1642 | XSETCAR (cell, newval); | 1641 | XSETCAR (cell, newval); |
| 1643 | TOP = newval; | 1642 | TOP = newval; |
| 1644 | NEXT; | 1643 | NEXT; |
| @@ -1653,7 +1652,6 @@ exec_byte_code (Lisp_Object fun, ptrdiff_t args_template, | |||
| 1653 | record_in_backtrace (Qsetcdr, &TOP, 2); | 1652 | record_in_backtrace (Qsetcdr, &TOP, 2); |
| 1654 | wrong_type_argument (Qconsp, cell); | 1653 | wrong_type_argument (Qconsp, cell); |
| 1655 | } | 1654 | } |
| 1656 | CHECK_IMPURE (cell, XCONS (cell)); | ||
| 1657 | XSETCDR (cell, newval); | 1655 | XSETCDR (cell, newval); |
| 1658 | TOP = newval; | 1656 | TOP = newval; |
| 1659 | NEXT; | 1657 | NEXT; |