[gsubgpos] Add an unlikely
This commit is contained in:
parent
d4dec54c3a
commit
c6a4b60116
|
@ -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? */
|
||||||
|
|
Loading…
Reference in New Issue