OSDN Git Service

* cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jul 2003 22:46:47 +0000 (22:46 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jul 2003 22:46:47 +0000 (22:46 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69652 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cgraphunit.c

index c36fb6f..0ca8307 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jul 22 00:42:12 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
+
 2003-07-21  Neil Booth  <neil@daikokuya.co.uk>
 
        * cppfiles.c (open_file_pch): Don't put unused entries in the
index 4f51e5d..5e37235 100644 (file)
@@ -190,9 +190,8 @@ cgraph_finalize_compilation_unit (void)
       cgraph_create_edges (decl, DECL_SAVED_TREE (decl));
 
       node->local.inlinable = tree_inlinable_function_p (decl, 1);
-      if (!DECL_ESTIMATED_INSNS (decl))
-       DECL_ESTIMATED_INSNS (decl)
-          = (*lang_hooks.tree_inlining.estimate_num_insns) (decl);
+      DECL_ESTIMATED_INSNS (decl)
+        = (*lang_hooks.tree_inlining.estimate_num_insns) (decl);
       node->local.self_insns = DECL_ESTIMATED_INSNS (decl);
       if (node->local.inlinable)
        node->local.disgread_inline_limits