aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd2025-09-16 18:57:51 +0200
committerMattias EngdegÄrd2025-09-17 12:49:14 +0200
commitde4ca2bdb1ae69a6ad0c4fc0473f2823e74f7f2b (patch)
treeb9222093ec43a83656dc94bb1a8e75ce1d0799ae /src/bytecode.c
parent08b2d53e48fc8f8081bfa5fe5465dc99dbb7407d (diff)
downloademacs-de4ca2bdb1ae69a6ad0c4fc0473f2823e74f7f2b.tar.gz
emacs-de4ca2bdb1ae69a6ad0c4fc0473f2823e74f7f2b.zip
Turn some checking macros into functions in the GC marker code
This rids us of a bunch of unhygienic macros with free variables and makes the marking code actually readable again. Even better, it is all processed by the compiler even when the checks are disabled. * src/alloc.c (CHECK_ALLOCATED, CHECK_LIVE, CHECK_ALLOCATED_AND_LIVE) (CHECK_ALLOCATED_AND_LIVE_SYMBOL): Transform macros into... (check_live, check_allocated_and_live, check_allocated_and_live_symbol) (check_allocated_and_live_vectorlike): ...functions. Callers adapted.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions