[AArch64] Remove useless variable 'increment'

From-SVN: r212950
This commit is contained in:
Jiong Wang 2014-07-23 16:06:52 +00:00 committed by Marcus Shawcroft
parent 0b4a9743a3
commit 55185278ab
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2014-07-23 Jiong Wang <jiong.wang@arm.com>
* config/aarch64/aarch64.c
(aarch64_save_or_restore_callee_save_registers)
(aarch64_save_or_restore_fprs): Remove 'increment'.
2014-07-23 Jiong Wang <jiong.wang@arm.com>
* config/aarch64/aarch64.c

View File

@ -1910,9 +1910,7 @@ aarch64_register_saved_on_entry (int regno)
static void
aarch64_save_or_restore_fprs (HOST_WIDE_INT start_offset, int increment,
bool restore)
aarch64_save_or_restore_fprs (HOST_WIDE_INT start_offset, bool restore)
{
unsigned regno;
unsigned regno2;
@ -1998,7 +1996,6 @@ aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT start_offset,
bool restore)
{
rtx insn;
HOST_WIDE_INT increment = UNITS_PER_WORD;
rtx (*gen_mem_ref) (enum machine_mode, rtx) = (frame_pointer_needed
? gen_frame_mem : gen_rtx_MEM);
unsigned limit = frame_pointer_needed ? R28_REGNUM : R30_REGNUM;
@ -2076,7 +2073,7 @@ aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT start_offset,
}
}
aarch64_save_or_restore_fprs (start_offset, increment, restore);
aarch64_save_or_restore_fprs (start_offset, restore);
}
/* AArch64 stack frames generated by this compiler look like: