diff options
author | Jeff Law <law@redhat.com> | 2003-06-30 20:04:11 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2003-06-30 20:04:11 -0600 |
commit | de1f5659248e9669c28f5ab22583894b3e55d7e1 (patch) | |
tree | 817cd4c08365bd915978dc7e81826a941b90962e /gcc/stmt.c | |
parent | 6001794def1de775fa296fa60b8bf5630dc97736 (diff) | |
download | gcc-de1f5659248e9669c28f5ab22583894b3e55d7e1.zip gcc-de1f5659248e9669c28f5ab22583894b3e55d7e1.tar.gz gcc-de1f5659248e9669c28f5ab22583894b3e55d7e1.tar.bz2 |
stmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it was always passed in the value '1'.
* stmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it
was always passed in the value '1'. Simplify body appropriately.
* tree.h (any_pending_cleanups): Corresponding changes.
* calls.c: (expand_call): Corresponding changes.
From-SVN: r68754
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -4378,19 +4378,18 @@ last_cleanup_this_contour () } /* Return 1 if there are any pending cleanups at this point. - If THIS_CONTOUR is nonzero, check the current contour as well. - Otherwise, look only at the contours that enclose this one. */ + Check the current contour as well as contours that enclose + the current contour. */ int -any_pending_cleanups (this_contour) - int this_contour; +any_pending_cleanups () { struct nesting *block; if (cfun == NULL || cfun->stmt == NULL || block_stack == 0) return 0; - if (this_contour && block_stack->data.block.cleanups != NULL) + if (block_stack->data.block.cleanups != NULL) return 1; if (block_stack->data.block.cleanups == 0 && block_stack->data.block.outer_cleanups == 0) |