reload1.c (reload): Use delete_insn instead of splatting NOTE_INSN_DELETED.

* reload1.c (reload): Use delete_insn instead of splatting
        NOTE_INSN_DELETED.

From-SVN: r45740
This commit is contained in:
Richard Henderson 2001-09-21 18:21:04 -07:00 committed by Richard Henderson
parent 8a9a857e91
commit e5eac8efac
2 changed files with 6 additions and 3 deletions

View 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

View 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;
}