Remove unused function ipa_free_edge_args_substructures
authorMartin Jambor <mjambor@suse.cz>
Wed, 16 May 2018 16:22:56 +0000 (18:22 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 16 May 2018 16:22:56 +0000 (18:22 +0200)
2018-05-16  Martin Jambor  <mjambor@suse.cz>

* ipa-prop.c (ipa_free_all_edge_args): Remove.
* ipa-prop.h (ipa_free_all_edge_args): Likewise.

From-SVN: r260295

gcc/ChangeLog
gcc/ipa-prop.c
gcc/ipa-prop.h

index 6390b422f63ca72aaa7a310ad0c1311b8f08384d..8a848124ff732e418b0fa6a39c9273b285cfc90c 100644 (file)
@@ -1,3 +1,8 @@
+2018-05-16  Martin Jambor  <mjambor@suse.cz>
+
+       * ipa-prop.c (ipa_free_all_edge_args): Remove.
+       * ipa-prop.h (ipa_free_all_edge_args): Likewise.
+
 2018-05-16  Wilco Dijkstra  <wdijkstr@arm.com>
 
        * config/aarch64/aarch64.md (fma<mode>4): Change into expand pattern.
index 38441cc49bc84c927ff271d7c4d043701782af34..19d55cda00901fb4ac8317c076033e7b032119e4 100644 (file)
@@ -3708,16 +3708,6 @@ ipa_check_create_edge_args (void)
     ipa_vr_hash_table = hash_table<ipa_vr_ggc_hash_traits>::create_ggc (37);
 }
 
-/* Frees all dynamically allocated structures that the argument info points
-   to.  */
-
-void
-ipa_free_edge_args_substructures (struct ipa_edge_args *args)
-{
-  vec_free (args->jump_functions);
-  *args = ipa_edge_args ();
-}
-
 /* Free all ipa_edge structures.  */
 
 void
index a61e06135e329deec86529fca4d0d26dc1610e6b..dc45cea9c71b35faa7d476820404812ee9fbc3de 100644 (file)
@@ -664,7 +664,6 @@ extern GTY(()) vec<ipcp_transformation_summary, va_gc> *ipcp_transformations;
 void ipa_create_all_node_params (void);
 void ipa_create_all_edge_args (void);
 void ipa_check_create_edge_args (void);
-void ipa_free_edge_args_substructures (struct ipa_edge_args *);
 void ipa_free_all_node_params (void);
 void ipa_free_all_edge_args (void);
 void ipa_free_all_structures_after_ipa_cp (void);