[PATCH] New function: current_function_has_landing_pads

Gabriel Dos Reis gdr@integrable-solutions.net
Sun Jun 26 22:57:00 GMT 2005


Roger Sayle <roger@eyesopen.com> writes:

| Secondly,
| 
| > +       if (! region || region->region_number != i)
| > + 	continue;
| > +       if (region->landing_pad)
| > + 	return true;
| 
| Is perhaps marginally clearer written as
| 
| 	if (region
| 	    && region->region_number == i
| 	    && region->landing_pad)
| 	  return true;

I vote for your version :-)

-- Gaby



More information about the Gcc-patches mailing list