[AArch64] Remove useless local variable.

From-SVN: r212946
This commit is contained in:
Jiong Wang 2014-07-23 15:57:43 +00:00 committed by Marcus Shawcroft
parent b8a404dc87
commit ec01976b4f
2 changed files with 7 additions and 2 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): Rename 'offset'
to 'start_offset'. Remove local variable 'start_offset'.
2014-07-23 Jiong Wang <jiong.wang@arm.com>
* config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Change

View File

@ -1997,12 +1997,11 @@ aarch64_save_or_restore_fprs (HOST_WIDE_INT start_offset, int increment,
/* offset from the stack pointer of where the saves and
restore's have to happen. */
static void
aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT offset,
aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT start_offset,
bool restore)
{
rtx insn;
rtx base_rtx = stack_pointer_rtx;
HOST_WIDE_INT start_offset = offset;
HOST_WIDE_INT increment = UNITS_PER_WORD;
rtx (*gen_mem_ref) (enum machine_mode, rtx) = (frame_pointer_needed
? gen_frame_mem : gen_rtx_MEM);