This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: is_predicate_p?


On Sun, Jun 09, 2002 at 04:27:29PM -0400, Robert Dewar wrote:
> <<call, it'll always be
>         if (is_foo ())
> >>
> 
> Yes, and by your same argument if I write
> 
>    if (stmt_ends_bb (foo))
> 
> it is also pretty obvious that this a predicate

Maybe... it could just as easily be returning a bb* to the block that
foo ends or NULL in some exceptional error condition.  I'm in favor of
some (any; I don't care) consistence naming convention for all
predicate functions.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]