* stmt.c (stmt_loop_nest_empty): New function.
* tree.h (stmt_loop_nest_empty): Declare it.
From-SVN: r24844
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>
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.
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 */