diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-04-25 16:17:25 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-04-25 16:18:44 -0700 |
commit | 24849c1b8d348379203c07c400bedfd42059963f (patch) | |
tree | 9de2912fceabd822dc0a793daae678d0167abb60 /src/ccl.c | |
parent | 7b82650c60bd044c046601fc337c8a46b4fb853c (diff) | |
download | emacs-24849c1b8d348379203c07c400bedfd42059963f.tar.gz |
Inline a couple of functions that were macros
This reclaims a bit of performance when compiling with gcc -Og.
These functions were macros until I changed them in
2020-04-17T14:57:25Z!eggert@cs.ucla.edu.
* src/casefiddle.c (make_char_unibyte):
* src/ccl.c (GET_TRANSLATION_TABLE): Now inline.
Diffstat (limited to 'src/ccl.c')
-rw-r--r-- | src/ccl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ccl.c b/src/ccl.c index 0f82b97f6a9..ef059ffff25 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -856,7 +856,7 @@ struct ccl_prog_stack static struct ccl_prog_stack ccl_prog_stack_struct[256]; /* Return a translation table of id number ID. */ -static Lisp_Object +static inline Lisp_Object GET_TRANSLATION_TABLE (int id) { return XCDR (XVECTOR (Vtranslation_table_vector)->contents[id]); |