diff options
| author | Mattias EngdegÄrd | 2025-09-16 18:57:51 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2025-09-17 12:49:14 +0200 |
| commit | de4ca2bdb1ae69a6ad0c4fc0473f2823e74f7f2b (patch) | |
| tree | b9222093ec43a83656dc94bb1a8e75ce1d0799ae /src/bytecode.c | |
| parent | 08b2d53e48fc8f8081bfa5fe5465dc99dbb7407d (diff) | |
| download | emacs-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