From 7965079c602337756f37c5c82d6043d686b4700e Mon Sep 17 00:00:00 2001 From: kazu Date: Fri, 25 Feb 2005 03:45:37 +0000 Subject: * cse.c (delete_trivially_dead_insns): Speed up by minimizing calls to find_reg_note. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95532 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cse.c') diff --git a/gcc/cse.c b/gcc/cse.c index 5bc6ce40c90..60dc9a9484b 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -7329,7 +7329,7 @@ delete_trivially_dead_insns (rtx insns, int nreg) ndead++; } - if (find_reg_note (insn, REG_LIBCALL, NULL_RTX)) + if (in_libcall && find_reg_note (insn, REG_LIBCALL, NULL_RTX)) { in_libcall = 0; dead_libcall = 0; -- cgit v1.2.1