mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
[gsubgpos] Add an unlikely
This commit is contained in:
1 parent
d4dec54c3a
commit
c6a4b60116
1 file changed
+2
-2
@@ -100,8 +100,8 @@ struct hb_closure_context_t :
|
||||
|
||||
bool is_lookup_done (unsigned int lookup_index)
|
||||
{
|
||||
if (done_lookups_glyph_count->in_error () ||
|
||||
done_lookups_glyph_set->in_error ())
|
||||
if (unlikely (done_lookups_glyph_count->in_error () ||
|
||||
done_lookups_glyph_set->in_error ()))
|
||||
return true;
|
||||
|
||||
/* Have we visited this lookup with the current set of glyphs? */
|
||||
|
||||
Reference in new issue
Block a user