From 9fea19ebff62a4e9aa344e271d58acf416214d2a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 8 Jul 2023 13:56:24 -0600 Subject: [PATCH] [shape] Another always-inline --- src/hb-ot-layout-gsubgpos.hh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-layout-gsubgpos.hh b/src/hb-ot-layout-gsubgpos.hh index c6999f74b..5fcab79bc 100644 --- a/src/hb-ot-layout-gsubgpos.hh +++ b/src/hb-ot-layout-gsubgpos.hh @@ -430,6 +430,9 @@ struct hb_ot_apply_context_t : MATCH_MAYBE }; +#ifndef HB_OPTIMIZE_SIZE + HB_ALWAYS_INLINE +#endif may_match_t may_match (hb_glyph_info_t &info, hb_codepoint_t glyph_data) const { @@ -1481,7 +1484,7 @@ static inline bool ligate_input (hb_ot_apply_context_t *c, template #ifndef HB_OPTIMIZE_SIZE - HB_ALWAYS_INLINE +HB_ALWAYS_INLINE #endif static bool match_backtrack (hb_ot_apply_context_t *c, unsigned int count, @@ -1513,7 +1516,7 @@ static bool match_backtrack (hb_ot_apply_context_t *c, template #ifndef HB_OPTIMIZE_SIZE - HB_ALWAYS_INLINE +HB_ALWAYS_INLINE #endif static bool match_lookahead (hb_ot_apply_context_t *c, unsigned int count,