From d65ec49177cdb63c3129e41fb6a2ca2e34eccd5a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 3 Mar 2025 15:35:58 -0700 Subject: [PATCH] [hvgl/transforms] Add a likely() --- src/hb-aat-var-hvgl-table.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-aat-var-hvgl-table.cc b/src/hb-aat-var-hvgl-table.cc index e3bc611fa..a69400127 100644 --- a/src/hb-aat-var-hvgl-table.cc +++ b/src/hb-aat-var-hvgl-table.cc @@ -595,7 +595,7 @@ PartComposite::get_path_at (const hb_hvgl_context_t *c, { auto &this_transform = transforms_tail[subPart.treeTransformIndex]; - if (this_transform.is_translation ()) + if (likely (this_transform.is_translation ())) { double dx = this_transform.x0; double dy = this_transform.y0;