]> git.eshelyaron.com Git - emacs.git/commit
Tweak STORE_NUMBER arg type
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 May 2024 15:48:52 +0000 (08:48 -0700)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 May 2024 07:43:29 +0000 (09:43 +0200)
commit240c7c131bdbac494e1e954fbbffb957dcbbcd7f
tree00c4e954599e1fb0117cb7cf2f9774fcf8634374
parentd8893a077c3e87605f7d1630d35688b734cc86d2
Tweak STORE_NUMBER arg type

* src/regex-emacs.c (STORE_NUMBER): Make the arg int, not int16_t.
There’s no need for the caller to convert to int16_t, and using
int makes the machine code a bit smaller (and presumably a bit
faster) on x86-64 with GCC 14.

(cherry picked from commit 98b83bdc9f4af7798e3314ad8df6ab78efd60f8a)
src/regex-emacs.c