aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-semantics.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-20 22:58:28 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-04-20 22:58:28 +0000
commitb39b80844883d0de4d19d90c35f11d78887280fe (patch)
tree0a33124dc762c4ee57d2b231808b74633dac37de /gcc/c-semantics.c
parent3bd417a700334135c711990366ffef1e2fc8630b (diff)
downloadgcc-b39b80844883d0de4d19d90c35f11d78887280fe.zip
gcc-b39b80844883d0de4d19d90c35f11d78887280fe.tar.gz
gcc-b39b80844883d0de4d19d90c35f11d78887280fe.tar.bz2
c-common.h, [...]: Rename genrtl_decl_cleanup to genrtl_cleanup_stmt.
* c-common.h, c-semantics.c: Rename genrtl_decl_cleanup to genrtl_cleanup_stmt. Correct comment at head of genrtl_cleanup_stmt (no such thing as a DECL_CLEANUP). * stmt.c (struct nesting): Kill n_function_calls. (expand_start_bindings): Don't set thisblock->data.block.n_function_calls. (expand_end_bindings): Compare function_call_count against 0. (expand_cleanups): Kill DONT_DO argument; all callers passed NULL_TREE. All callers updated to match. Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r65869
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r--gcc/c-semantics.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c
index 2d88144..b1c6a9c 100644
--- a/gcc/c-semantics.c
+++ b/gcc/c-semantics.c
@@ -777,10 +777,10 @@ genrtl_asm_stmt (cv_qualifier, string, output_operands,
input_filename, lineno);
}
-/* Generate the RTL for a DECL_CLEANUP. */
+/* Generate the RTL for a CLEANUP_STMT. */
void
-genrtl_decl_cleanup (t)
+genrtl_cleanup_stmt (t)
tree t;
{
tree decl = CLEANUP_DECL (t);
@@ -904,7 +904,7 @@ expand_stmt (t)
break;
case CLEANUP_STMT:
- genrtl_decl_cleanup (t);
+ genrtl_cleanup_stmt (t);
break;
default: