[cff] Enable an unlikely

This commit is contained in:
Behdad Esfahbod 2022-11-30 11:25:50 -07:00
parent 582a87ef0a
commit 2dc2e016d4
1 changed files with 1 additions and 2 deletions

View File

@ -329,8 +329,7 @@ struct Dict : UnsizedByteStr
template <typename T, typename V> template <typename T, typename V>
static bool serialize_int_op (hb_serialize_context_t *c, op_code_t op, V value, op_code_t intOp) static bool serialize_int_op (hb_serialize_context_t *c, op_code_t op, V value, op_code_t intOp)
{ {
// XXX: not sure why but LLVM fails to compile the following 'unlikely' macro invocation if (unlikely ((!serialize_int<T, V> (c, intOp, value))))
if (/*unlikely*/ (!serialize_int<T, V> (c, intOp, value)))
return false; return false;
TRACE_SERIALIZE (this); TRACE_SERIALIZE (this);