diff options
Diffstat (limited to 'gcc/config/v850')
-rw-r--r-- | gcc/config/v850/v850.c | 4 | ||||
-rw-r--r-- | gcc/config/v850/v850.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 85991db..c99841a 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -1488,7 +1488,7 @@ compute_frame_size (int size, long * p_reg_saved) { return (size + compute_register_save_size (p_reg_saved) - + current_function_outgoing_args_size); + + crtl->outgoing_args_size); } @@ -1525,7 +1525,7 @@ expand_prologue (void) } /* Save arg registers to the stack if necessary. */ - else if (current_function_args_info.anonymous_args) + else if (crtl->args.info.anonymous_args) { if (TARGET_PROLOG_FUNCTION && TARGET_V850E && !TARGET_DISABLE_CALLT) emit_insn (gen_save_r6_r9_v850e ()); diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h index f7bb17f..50119c2 100644 --- a/gcc/config/v850/v850.h +++ b/gcc/config/v850/v850.h @@ -557,7 +557,7 @@ enum reg_class #define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET) \ { \ if ((FROM) == FRAME_POINTER_REGNUM) \ - (OFFSET) = get_frame_size () + current_function_outgoing_args_size; \ + (OFFSET) = get_frame_size () + crtl->outgoing_args_size; \ else if ((FROM) == ARG_POINTER_REGNUM) \ (OFFSET) = compute_frame_size (get_frame_size (), (long *)0); \ else \ |