aboutsummaryrefslogtreecommitdiff
path: root/src/hb-ot-shaper-use-machine.rl
diff options
context:
space:
mode:
Diffstat (limited to 'src/hb-ot-shaper-use-machine.rl')
-rw-r--r--src/hb-ot-shaper-use-machine.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-shaper-use-machine.rl b/src/hb-ot-shaper-use-machine.rl
index 8ace1f026..9f22057ea 100644
--- a/src/hb-ot-shaper-use-machine.rl
+++ b/src/hb-ot-shaper-use-machine.rl
@@ -187,7 +187,7 @@ main := |*
for (unsigned i = (*ts).second.first; i < (*te).second.first; ++i) \
info[i].syllable() = (syllable_serial << 4) | syllable_type; \
syllable_serial++; \
- if (syllable_serial == 16) syllable_serial = 1; \
+ if (unlikely (syllable_serial == 16)) syllable_serial = 1; \
} HB_STMT_END