Commit c6a3fcf0 by Jeff Law Committed by Jeff Law

emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the last insn created by the splitter.

        * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the
        last insn created by the splitter.

From-SVN: r54535
parent 4c4eb375
......@@ -112,6 +112,9 @@ Tue Jun 11 21:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
2002-06-11 Jeffrey Law <law@redhat.com>
* emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the
last insn created by the splitter.
* caller-save.c (init_caller_save): Move creation of SAVEINSN
and RESTINSN into into the scope of the sequence.
......
......@@ -3222,7 +3222,7 @@ try_split (pat, trial, last)
usage count so we don't delete the label. */
if (GET_CODE (trial) == INSN)
{
insn = last_insn;
insn = insn_last;
while (insn != NULL_RTX)
{
if (GET_CODE (insn) == INSN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment