caller-save.c (init_caller_save): Move creation of SAVEINSN and RESTINSN into into the scope of the sequence.
* caller-save.c (init_caller_save): Move creation of SAVEINSN and RESTINSN into into the scope of the sequence. From-SVN: r54530
This commit is contained in:
parent
0797e4720f
commit
0db79a6b35
|
@ -49,6 +49,9 @@ Tue Jun 11 21:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
|
|||
|
||||
2002-06-11 Jeffrey Law <law@redhat.com>
|
||||
|
||||
* caller-save.c (init_caller_save): Move creation of SAVEINSN
|
||||
and RESTINSN into into the scope of the sequence.
|
||||
|
||||
* mips.c (mips_expand_prologue): Use emit_jump_insn for trivial
|
||||
RETURN insns.
|
||||
|
||||
|
|
|
@ -191,11 +191,12 @@ init_caller_save ()
|
|||
test_mem = gen_rtx_MEM (VOIDmode, address);
|
||||
savepat = gen_rtx_SET (VOIDmode, test_mem, test_reg);
|
||||
restpat = gen_rtx_SET (VOIDmode, test_reg, test_mem);
|
||||
saveinsn = emit_insn (savepat);
|
||||
restinsn = emit_insn (restpat);
|
||||
|
||||
start_sequence ();
|
||||
|
||||
saveinsn = emit_insn (savepat);
|
||||
restinsn = emit_insn (restpat);
|
||||
|
||||
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
|
||||
for (mode = 0 ; mode < MAX_MACHINE_MODE; mode++)
|
||||
if (HARD_REGNO_MODE_OK (i, mode))
|
||||
|
|
Loading…
Reference in New Issue