From b31ef081db0d91fd6d3e72a59fc97248ab28a904 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 10 May 2022 14:52:40 -0600 Subject: [PATCH] Revert "[cff] Add an unlikely()" This reverts commit 9ba9adb7ed6d48504e97a2af117b7da1fdb28450. This shows slowdown in benchmarks. --- src/hb-cff-interp-cs-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-cff-interp-cs-common.hh b/src/hb-cff-interp-cs-common.hh index c9c339c21..26232f4e7 100644 --- a/src/hb-cff-interp-cs-common.hh +++ b/src/hb-cff-interp-cs-common.hh @@ -888,7 +888,7 @@ struct cs_interpreter_t : interpreter_t OPSET::process_op (SUPER::env.fetch_op (), SUPER::env, param); if (unlikely (SUPER::env.in_error ())) return false; - if (unlikely (SUPER::env.is_endchar ())) + if (SUPER::env.is_endchar ()) break; }