[subset] add unlikely().

This commit is contained in:
Garret Rieger 2021-04-06 11:33:38 -07:00 committed by Behdad Esfahbod
parent 64122b5a44
commit 8b686afeb5
1 changed files with 1 additions and 1 deletions

View File

@ -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;