]> git.eshelyaron.com Git - emacs.git/commit
Bump specpdl inline, move reallocation out of line
authorMattias Engdegård <mattiase@acm.org>
Sat, 15 Jan 2022 13:51:09 +0000 (14:51 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 24 Jan 2022 10:41:47 +0000 (11:41 +0100)
commitb7902a9b48f8e7f83ab6b90cfd8bc95aab410e6f
treee3aba73bac2d00a1384aeca52cf0199288a9fd3e
parent4a0541a5ddee0485d19dba1960a3a5821cf68fdd
Bump specpdl inline, move reallocation out of line

The common case is just to increment `specpdl_ptr`; do that in-line,
but move the uncommon reallocation to a separate subroutine.

* src/eval.c (grow_specpdl): Now inline, most code moved...
(grow_specpdl_allocation): ...here.
src/eval.c