cgraphunit.c (cgraph_finalize_function): Remove unused argument.
authorRichard Henderson <rth@redhat.com>
Wed, 10 Sep 2003 03:06:32 +0000 (20:06 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 10 Sep 2003 03:06:32 +0000 (20:06 -0700)
        * cgraphunit.c (cgraph_finalize_function): Remove unused argument.
        * cgraph.h (cgraph_finalize_function): Update.
        * c-decl.c (finish_function): Update.
cp/
        * semantics.c (expand_or_defer_fn): Update call to
        cgraph_finalize_function.
java/
        * parse.y (source_end_java_method): Update call to
        cgraph_finalize_function.

From-SVN: r71263

gcc/ChangeLog
gcc/c-decl.c
gcc/cgraph.h
gcc/cgraphunit.c
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/java/ChangeLog
gcc/java/parse.y

index 358ee4eb3241943e2027dbd887aaabf49174f50a..2b099c1008683f8cf321df9fe7c09371534f0a80 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-09  Richard Henderson  <rth@redhat.com>
+
+       * cgraphunit.c (cgraph_finalize_function): Remove unused argument.
+       * cgraph.h (cgraph_finalize_function): Update.
+       * c-decl.c (finish_function): Update.
 
 2003-09-09  Devang Patel  <dpatel@apple.com>
 
index 6afcd7afc94d7d7d38143addbbafbb314d6c926b..b72f257b4c309c22645894e9f06dfe5edf838de1 100644 (file)
@@ -6143,7 +6143,7 @@ finish_function ()
   /* ??? Objc emits functions after finalizing the compilation unit.
      This should be cleaned up later and this conditional removed.  */
   if (!cgraph_global_info_ready)
-    cgraph_finalize_function (fndecl, DECL_SAVED_TREE (fndecl));
+    cgraph_finalize_function (fndecl);
   else
     c_expand_body (fndecl);
   current_function_decl = NULL;
index aaa09a201e8858b6874bce7f45bb06beca3fb43d..2b30f93499f22843b7d3ecb1b5cf70490e8e60a7 100644 (file)
@@ -169,7 +169,7 @@ void cgraph_varpool_finalize_decl (tree);
 bool cgraph_varpool_assemble_pending_decls (void);
 
 /* In cgraphunit.c  */
-void cgraph_finalize_function (tree, tree);
+void cgraph_finalize_function (tree);
 void cgraph_finalize_compilation_unit (void);
 void cgraph_create_edges (tree, tree);
 void cgraph_optimize (void);
index 10bf8377ede3a129d253aa586a49dea65642ccee..02edb697d1061e61e2bcff75ba055da25e4f978a 100644 (file)
@@ -146,7 +146,7 @@ cgraph_assemble_pending_functions (void)
    available - create cgraph edges for function calls via BODY.  */
 
 void
-cgraph_finalize_function (tree decl, tree body ATTRIBUTE_UNUSED)
+cgraph_finalize_function (tree decl)
 {
   struct cgraph_node *node = cgraph_node (decl);
 
index 1698444fd2d74a41c9f53c9ef6201b96265f9995..b36f7aa2dd22b2697ed1784402456a08920ec233 100644 (file)
@@ -1,5 +1,8 @@
 2003-09-09  Richard Henderson  <rth@redhat.com>
 
+       * semantics.c (expand_or_defer_fn): Update call to 
+       cgraph_finalize_function.
+
        * semantics.c (expand_or_defer_fn): Use cgraph_finalize_function
        always.
 
index b5d76cea29aef5f9d91f14dc8d2bbf5285c4be94..50923abb8e79852431bc86339d2fc8605849179a 100644 (file)
@@ -2940,7 +2940,7 @@ expand_or_defer_fn (tree fn)
     import_export_decl (fn);
 
   /* Expand or defer, at the whim of the compilation unit manager.  */
-  cgraph_finalize_function (fn, DECL_SAVED_TREE (fn));
+  cgraph_finalize_function (fn);
 }
 
 /* Helper function for walk_tree, used by finish_function to override all
index 3b5253696af2bbb6a5825972c76ca9af9adaaded..68841af41b12d765126517bdd4ff01d1c9a2abce 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-09  Richard Henderson  <rth@redhat.com>
+
+        * parse.y (source_end_java_method): Update call to
+        cgraph_finalize_function.
+
 2003-09-03  Jeff Sturm  <jsturm@one-point.com>
 
        * decl.c (java_expand_body): New function.
index 8684537268c0dcfcbc908f415b992afb3aab6a23..2a6abf56c18ca596a3c7584a29cc1859c43b382c 100644 (file)
@@ -7474,7 +7474,7 @@ source_end_java_method (void)
   /* In unit-at-a-time mode, don't expand the method yet.  */
   if (DECL_SAVED_TREE (fndecl) && flag_unit_at_a_time)
     {
-      cgraph_finalize_function (fndecl, DECL_SAVED_TREE (fndecl));
+      cgraph_finalize_function (fndecl);
       current_function_decl = NULL_TREE;
       java_parser_context_restore_global ();
       return;