stmt.c (stmt_loop_nest_empty): New function.
* stmt.c (stmt_loop_nest_empty): New function. * tree.h (stmt_loop_nest_empty): Declare it. From-SVN: r24844
This commit is contained in:
parent
09554da93e
commit
4a050cc23f
@ -1,5 +1,7 @@
|
||||
Sun Jan 24 08:07:59 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* stmt.c (stmt_loop_nest_empty): New function.
|
||||
* tree.h (stmt_loop_nest_empty): Declare it.
|
||||
* rtl.def (CALL_PLACEHOLDER): New rtx code.
|
||||
|
||||
Sun Jan 24 21:24:43 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
|
||||
|
@ -2345,6 +2345,14 @@ expand_exit_loop_if_false (whichloop, cond)
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Return nonzero if the loop nest is empty. Else return zero. */
|
||||
|
||||
int
|
||||
stmt_loop_nest_empty ()
|
||||
{
|
||||
return (loop_stack == NULL);
|
||||
}
|
||||
|
||||
/* Return non-zero if we should preserve sub-expressions as separate
|
||||
pseudos. We never do so if we aren't optimizing. We always do so
|
||||
if -fexpensive-optimizations.
|
||||
|
@ -1952,6 +1952,7 @@ extern int pushcase_range PROTO((tree, tree,
|
||||
tree (*) (tree, tree),
|
||||
tree, tree *));
|
||||
extern void using_eh_for_cleanups PROTO((void));
|
||||
extern int stmt_loop_nest_empty PROTO((void));
|
||||
|
||||
/* In fold-const.c */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user