diff --git a/src/hb-ot-cff1-table.hh b/src/hb-ot-cff1-table.hh index 181b0bc3c..dcfebe8d2 100644 --- a/src/hb-ot-cff1-table.hh +++ b/src/hb-ot-cff1-table.hh @@ -1093,7 +1093,7 @@ struct cff1 CFF1FontDict_Interpreter font_interp; font_interp.env.init (fontDictStr); font = fontDicts.push (); - if (font == &Crap(CFF1FontDictValues)) { fini (); return; } + if (unlikely (font == &Crap(CFF1FontDictValues))) { fini (); return; } font->init (); if (unlikely (!font_interp.interpret (*font))) { fini (); return; } PRIVDICTVAL *priv = &privateDicts[i]; diff --git a/src/hb-ot-cff2-table.hh b/src/hb-ot-cff2-table.hh index 330c1a3d8..178acf0b1 100644 --- a/src/hb-ot-cff2-table.hh +++ b/src/hb-ot-cff2-table.hh @@ -486,7 +486,7 @@ struct cff2 CFF2FontDict_Interpreter font_interp; font_interp.env.init (fontDictStr); font = fontDicts.push (); - if (font == &Crap(CFF2FontDictValues)) { fini (); return; } + if (unlikely (font == &Crap(CFF2FontDictValues))) { fini (); return; } font->init (); if (unlikely (!font_interp.interpret (*font))) { fini (); return; }