diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-05-29 16:24:15 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-05-29 16:24:15 -0400 |
commit | 344a822046c08d2cb6a80eada0dbcbcf77cb6a44 (patch) | |
tree | 32d5d8be41c0c6b1adba5703f748b75f4c3e54a3 /gcc | |
parent | 180b8e4bf18ce1f566afcef0fc1bc055c8c9946b (diff) | |
download | gcc-344a822046c08d2cb6a80eada0dbcbcf77cb6a44.zip gcc-344a822046c08d2cb6a80eada0dbcbcf77cb6a44.tar.gz gcc-344a822046c08d2cb6a80eada0dbcbcf77cb6a44.tar.bz2 |
(jump_optimize): When deleting unneeded stack adjusts or mem-mem
copies, use delete_computation.
From-SVN: r7385
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/jump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |