From: Jan Hubicka Date: Mon, 21 Jul 2003 22:46:47 +0000 (+0200) Subject: * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if. X-Git-Tag: releases/gcc-3.4.0~4692 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b67d7f4aabe15590b3f5589865e69b84670e0269;p=thirdparty%2Fgcc.git * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if. From-SVN: r69652 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c36fb6f89205..0ca8307878f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Jul 22 00:42:12 CEST 2003 Jan Hubicka + + * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if. + 2003-07-21 Neil Booth * cppfiles.c (open_file_pch): Don't put unused entries in the diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 4f51e5d0e07c..5e3723517c07 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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