[gsubgpos] Add an unlikely

This commit is contained in:
Behdad Esfahbod 2022-11-30 14:09:59 -07:00
parent d4dec54c3a
commit c6a4b60116
1 changed files with 2 additions and 2 deletions

View File

@ -100,8 +100,8 @@ struct hb_closure_context_t :
bool is_lookup_done (unsigned int lookup_index) bool is_lookup_done (unsigned int lookup_index)
{ {
if (done_lookups_glyph_count->in_error () || if (unlikely (done_lookups_glyph_count->in_error () ||
done_lookups_glyph_set->in_error ()) done_lookups_glyph_set->in_error ()))
return true; return true;
/* Have we visited this lookup with the current set of glyphs? */ /* Have we visited this lookup with the current set of glyphs? */