From fb413f52022aa2edb8a5b64e9d28f826a161d0aa Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 16 May 2022 17:08:43 -0600 Subject: [PATCH] [subset/cff] Don't use bitfields for hot bools The struct has room because of alignment, and these bools are hot. --- src/hb-subset-cff-common.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-subset-cff-common.hh b/src/hb-subset-cff-common.hh index 0405b35bf..f73d42e5f 100644 --- a/src/hb-subset-cff-common.hh +++ b/src/hb-subset-cff-common.hh @@ -317,9 +317,9 @@ struct parsed_cs_op_t : op_str_t unsigned int subr_num; protected: - bool drop_flag : 1; - bool keep_flag : 1; - bool skip_flag : 1; + bool drop_flag; + bool keep_flag; + bool skip_flag; }; struct parsed_cs_str_t : parsed_values_t