From 344a822046c08d2cb6a80eada0dbcbcf77cb6a44 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 29 May 1994 16:24:15 -0400 Subject: [PATCH] (jump_optimize): When deleting unneeded stack adjusts or mem-mem copies, use delete_computation. From-SVN: r7385 --- gcc/jump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/jump.c b/gcc/jump.c index 834bbce..40258a5 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -362,7 +362,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) maybe eliminate it entirely. */ if (total_pushed >= stack_adjust_amount) { - delete_insn (stack_adjust_insn); + delete_computation (stack_adjust_insn); total_pushed = stack_adjust_amount; } else @@ -416,7 +416,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) && MEM_VOLATILE_P (SET_DEST (body))) && ! (GET_CODE (SET_SRC (body)) == MEM && MEM_VOLATILE_P (SET_SRC (body)))) - delete_insn (insn); + delete_computation (insn); /* Detect and ignore no-op move instructions resulting from smart or fortuitous register allocation. */ -- 2.7.4