From 8b686afeb5a7f959d98c0f85844d782c1cbc489f Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Tue, 6 Apr 2021 11:33:38 -0700 Subject: [PATCH] [subset] add unlikely(). --- src/hb-ot-layout-gsubgpos.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-gsubgpos.hh b/src/hb-ot-layout-gsubgpos.hh index bc7e91c03..b537ba005 100644 --- a/src/hb-ot-layout-gsubgpos.hh +++ b/src/hb-ot-layout-gsubgpos.hh @@ -120,7 +120,7 @@ struct hb_closure_context_t : } hb_set_t *covered_glyph_set = done_lookups_glyph_set->get (lookup_index); - if (covered_glyph_set->in_error ()) + if (unlikely (covered_glyph_set->in_error ())) return true; if (parent_active_glyphs ()->is_subset (covered_glyph_set)) return true;