]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
authorJan Hubicka <jh@suse.cz>
Mon, 21 Jul 2003 22:46:47 +0000 (00:46 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 21 Jul 2003 22:46:47 +0000 (22:46 +0000)
From-SVN: r69652

gcc/ChangeLog
gcc/cgraphunit.c

index c36fb6f8920550a76187f1a40b34b4c7d143c90c..0ca8307878f93fb58c934ffd1d0b148c3423f3ed 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 4f51e5d0e07c933d1355d365740ec8ee3a28e3f5..5e3723517c076b8052dbe732427487c42c2e6e4c 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