From b67d7f4aabe15590b3f5589865e69b84670e0269 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 22 Jul 2003 00:46:47 +0200 Subject: [PATCH] * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if. From-SVN: r69652 --- gcc/ChangeLog | 4 ++++ gcc/cgraphunit.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c36fb6f8920..0ca8307878f 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 4f51e5d0e07..5e3723517c0 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 -- 2.30.2