From: Ivan Maidanski Date: Wed, 11 Jan 2017 21:58:41 +0000 (+0300) Subject: Use EXPECT FALSE for mark_from code documented as executed rarely X-Git-Tag: v8.0.0~957 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f4244e130541a591d638c98f820b6b49e915ac0;p=gc Use EXPECT FALSE for mark_from code documented as executed rarely * mark.c (GC_mark_from): Use EXPECT(cond, FALSE) instead of "Rarely executed" comment. --- diff --git a/mark.c b/mark.c index e5c89218..6fec7cd3 100644 --- a/mark.c +++ b/mark.c @@ -784,8 +784,7 @@ GC_INNER mse * GC_mark_from(mse *mark_stack_top, mse *mark_stack, /* the type descriptor, and get a 0 GC descriptor, which */ /* is ideal. Unfortunately, we need to check for the last */ /* object case explicitly. */ - if (0 == type_descr) { - /* Rarely executed. */ + if (EXPECT(0 == type_descr, FALSE)) { mark_stack_top--; continue; }