Commit 35433587 by Jan Hubicka Committed by Jan Hubicka

* reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.

From-SVN: r41502
parent aacba154
Mon Apr 23 14:32:12 CEST 2001 Jan Hubicka <jh@suse.cz>
* reg-stack.c (emit_swap_insn): Do not get pass CALL_INSNs.
2001-04-22 Mark Mitchell <mark@codesourcery.com> 2001-04-22 Mark Mitchell <mark@codesourcery.com>
* loop.c (loop_delete_insns): Add prototype. * loop.c (loop_delete_insns): Add prototype.
......
...@@ -1004,6 +1004,7 @@ emit_swap_insn (insn, regstack, reg) ...@@ -1004,6 +1004,7 @@ emit_swap_insn (insn, regstack, reg)
while (tmp != limit) while (tmp != limit)
{ {
if (GET_CODE (tmp) == CODE_LABEL if (GET_CODE (tmp) == CODE_LABEL
|| GET_CODE (tmp) == CALL_INSN
|| NOTE_INSN_BASIC_BLOCK_P (tmp) || NOTE_INSN_BASIC_BLOCK_P (tmp)
|| (GET_CODE (tmp) == INSN || (GET_CODE (tmp) == INSN
&& stack_regs_mentioned (tmp))) && stack_regs_mentioned (tmp)))
......
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