reload1.c (reload): Use delete_insn instead of splatting NOTE_INSN_DELETED.
authorRichard Henderson <rth@redhat.com>
Sat, 22 Sep 2001 01:21:04 +0000 (18:21 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 22 Sep 2001 01:21:04 +0000 (18:21 -0700)
        * reload1.c (reload): Use delete_insn instead of splatting
        NOTE_INSN_DELETED.

From-SVN: r45740

gcc/ChangeLog
gcc/reload1.c

index be9aee1122fb3022fa04d7539e147333c346bd99..5258cecc3d551ec2dfe852bd2b1ffc5be2d44ddf 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-21  Richard Henderson  <rth@redhat.com>
+
+       * reload1.c (reload): Use delete_insn instead of splatting
+       NOTE_INSN_DELETED.
+
 2001-09-21  Richard Henderson  <rth@redhat.com>
 
        * reload.c (push_secondary_reload): Don't check for "=" in output
index 1636337281e4f52e31641ccf98bc774a29ece2e1..9ba07355a8b917ea2a6cae1b6a8a61139d604a1a 100644 (file)
@@ -1188,9 +1188,7 @@ reload (first, global)
                && (GET_CODE (XEXP (PATTERN (insn), 0)) != REG
                    || ! REG_FUNCTION_VALUE_P (XEXP (PATTERN (insn), 0)))))
          {
-           PUT_CODE (insn, NOTE);
-           NOTE_SOURCE_FILE (insn) = 0;
-           NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED;
+           delete_insn (insn);
            continue;
          }