S/390: Remove superfluous loops.
gcc/ChangeLog: 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/s390.c (s390_register_info_set_ranges): Remove superfluous loops. From-SVN: r233173
This commit is contained in:
parent
44b325d248
commit
4894733ddf
2 changed files with 5 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||||
|
||||
* config/s390/s390.c (s390_register_info_set_ranges): Remove
|
||||
superfluous loops.
|
||||
|
||||
2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
||||
|
||||
* doc/extend.texi: S/390: Correct some typos.
|
||||
|
|
|
@ -9326,10 +9326,6 @@ s390_register_info_set_ranges ()
|
|||
for (j = 15; j > i && cfun_gpr_save_slot (j) != SAVE_SLOT_STACK; j--);
|
||||
cfun_frame_layout.first_restore_gpr = (i == 16) ? -1 : i;
|
||||
cfun_frame_layout.last_restore_gpr = (i == 16) ? -1 : j;
|
||||
|
||||
/* Now the range of GPRs which need saving. */
|
||||
for (i = 0; i < 16 && cfun_gpr_save_slot (i) != SAVE_SLOT_STACK; i++);
|
||||
for (j = 15; j > i && cfun_gpr_save_slot (j) != SAVE_SLOT_STACK; j--);
|
||||
cfun_frame_layout.first_save_gpr = (i == 16) ? -1 : i;
|
||||
cfun_frame_layout.last_save_gpr = (i == 16) ? -1 : j;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue